@webassemblyjs/floating-point-hex-parser
A function to parse floating point hexadecimal strings as defined by the WebAssembly specification
A function to parse floating point hexadecimal strings as defined by the WebAssembly specification
A function to parse floating point hexadecimal strings as defined by the WebAssembly specification
Fracty is a decimal-to-fraction conversion module that solves the many well known problems with decimal-to-fraction conversion modules. Those common problems include overlooking conversion inaccuracies in the IEEE Standard for Floating-Point Arithmetic (I
Positive infinity.
Negative infinity.
Returns a string giving the literal bit representation of a single-precision floating-point number.
Simple, safe floating point math. Based on the Math portion of the sinful.js project at https://github.com/guipn/sinful.js
Returns a 32-bit integer corresponding to the more significant 32 bits of a double-precision floating-point number.
Splits a floating-point number into a higher order word and a lower order word.
Creates a double-precision floating-point number from a higher order word and a lower order word.
Math.nextAfter, Math.nextDown, Math.nextUp, Math.ulp in javascript (from https://gist.github.com/Yaffle/4654250)
Simple, safe floating point math. Based on the Math portion of the sinful.js project at https://github.com/guipn/sinful.js
Provide a four operations calculator API with workaround for the common floating-point issue
Sets the less significant 32 bits of a double-precision floating-point number.
Returns an integer corresponding to the unbiased exponent of a double-precision floating-point number.
Smallest positive double-precision floating-point number.
Multiplies a double-precision floating-point number by an integer power of two.
Returns a normal number `y` and exponent `exp` satisfying `x = y * 2^exp`.
Simple, safe floating point math. Based on the Math portion of the sinful.js project at https://github.com/guipn/sinful.js
Safer floating-point math operations in JavaScript that return results we expect, so that 0.1 + 0.2 adds up to 0.3, e.g.