Skip to main content

Module traits

Module traits 

Source
🔬This is a nightly-only experimental API. (num_internals)
Expand description

Numeric traits used for internal implementations.

Macros§

int 🔒 Experimental

Traits§

CastIntoExperimental
Lossy as casting between two types.
Float 👻 Experimental
A helper trait to avoid duplicating basically all the conversion code for IEEE floats.
FloatExt 👻 Experimental
Items that ideally would be on Float, but don’t apply to all float types because they rely on the mantissa fitting into a u64 (which isn’t true for f128).
IntExperimental
Collection of traits that allow us to be generic over integer size.

Functions§

pow2_to_pow10 🔒 Experimental
Solve for b in 10^b = 2^a