Skip to main content

Module imp

Module imp 

Source
πŸ”¬This is a nightly-only experimental API. (num_internals)
Expand description

Numeric routines, separate from API.

Re-exportsΒ§

pub use traits::Float;Experimental
pub use traits::FloatExt;Experimental
pub use traits::Int;Experimental

ModulesΒ§

bignum πŸ‘» Experimental
Custom arbitrary-precision number (bignum) implementation.
dec2flt πŸ‘» Experimental
Converting decimal strings into IEEE 754 binary floating point numbers.
diy_float πŸ‘» Experimental
Extended precision β€œsoft float”, for internal use only.
flt2dec πŸ‘» Experimental
Floating-point number to decimal conversion routines.
fmt πŸ‘» Experimental
Shared utilities used by both float and integer formatting.
int_bits πŸ”’ Experimental
Implementations for uN::extract_bits and uN::deposit_bits
int_log10 πŸ”’ Experimental
These functions compute the integer logarithm of their type, assuming that someone has already checked that the value is strictly positive.
int_sqrt πŸ”’ Experimental
These functions use the Karatsuba square root algorithm to compute the integer square root for the primitive integer types.
libm πŸ”’ Experimental
Bindings to math functions provided by the system libm or by the libm crate, exposed via compiler-builtins.
overflow_panic πŸ”’ Experimental
Functions for panicking on overflow.
traits πŸ”’πŸ‘» Experimental
Numeric traits used for internal implementations.