Cargo Features
[dependencies]
specialized-div-rem = { version = "1.1.0", default-features = false, features = ["asm", "implement", "no_lz", "std"] }
- default = asm, implement, std
-
These default features are set whenever
specialized-div-rem
is added without
somewhere in the dependency tree.default-features = false - asm default
-
assembly is so critical to the performance of some algorithms that it should be the default
- implement default
-
Causes this crate to implement many functions and tests using the macros. Required for running tests or benches.
- no_lz
-
Forces using software normalization instead of using
leading_zeros
for the functions implemented when the "implement" flag is set. - std default
-
this is needed for benchmarks and the
println!
in tests