Skip to main content

Module strict_math

Module strict_math 

Expand description

Platform-independent StrictMath functions with established exact bits. Established StrictMath operations, pure on native and wasm, with identical bits. Trigonometric sin/cos/tan, exp and pow are not provided.

Functions§

acos
Math.acos.
asin
Math.asin.
atan
Math.atan.
atan2
Math.atan2.
cbrt
Cube root, fdlibm’s cbrt.
hypot
sqrt(x^2 + y^2) without undue overflow or underflow, fdlibm’s __ieee754_hypot.
log
Natural logarithm, fdlibm’s __ieee754_log.
log10
Base-10 logarithm, fdlibm’s __ieee754_log10.