Functions§
- factorize
- Return the sorted list of prime factors of n (with repetition).
- format_
factors - Format a factorization result as “NUMBER: FACTOR FACTOR …” matching GNU factor output.
- write_
factors - Write factorization of a u128 to a buffer.
- write_
factors_ u64 - Write factorization of a u64 directly to a buffer. Zero-allocation hot path for the common case (numbers up to 2^64-1).