Module num

Module num 

Source
Expand description

Integer and floating-point number formatting

Modulesยง

imp ๐Ÿ”’ WebAssembly

Macrosยง

impl_Debug ๐Ÿ”’
impl_Display ๐Ÿ”’
impl_Exp ๐Ÿ”’
radix_integer ๐Ÿ”’
Formatting of integers with a non-decimal radix.
radix_integers ๐Ÿ”’
Formatting of integers with a non-decimal radix.

Constantsยง

U128_MAX_DEC_N ๐Ÿ”’

Staticsยง

DECIMAL_PAIRS ๐Ÿ”’

Functionsยง

div_rem_1e16 ๐Ÿ”’
Euclidean division plus remainder with constant 1E16 basically consumes 16 decimals from n.
enc_16lsd ๐Ÿ”’
Encodes the 16 least-significant decimals of n into buf[OFFSET .. OFFSET + 16 ].
exp_u128 ๐Ÿ”’
slice_buffer_to_str ๐Ÿ”’ โš 
This function converts a slice of ascii characters into a &str starting from offset.