Module lemire

Source
๐Ÿ”ฌThis is a nightly-only experimental API. (dec2flt)
Expand description

Implementation of the Eisel-Lemire algorithm.

Functionsยง

compute_floatExperimental
Compute w * 10^q using an extended-precision float representation.
compute_product_approx ๐Ÿ”’ Experimental
full_multiplication ๐Ÿ”’ Experimental
power ๐Ÿ”’ Experimental
Calculate a base 2 exponent from a decimal exponent. This uses a pre-computed integer approximation for log2(10), where 217706 / 2^16 is accurate for the entire range of non-finite decimal exponents.