An example of creating a package
Computes the greatest common divisor (gcd).
Computes the least common multiple (lcm).
Mathematical expression evaluator
Double-precision floating-point positive infinity.
C APIs for registering a Node-API module exporting an interface for invoking a unary numerical function.
C APIs for registering a Node-API module exporting an interface for invoking a binary numerical function.
Double-precision floating-point negative infinity.
Compute the absolute value of a double-precision floating-point number.
Return the real and imaginary components of a single-precision complex floating-point number.
Return the real and imaginary components of a double-precision complex floating-point number.
Smallest positive double-precision floating-point normal number.
The bias of a double-precision floating-point number's exponent.
Multiply a double-precision floating-point number by an integer power of two.
The maximum biased base 2 exponent for a subnormal double-precision floating-point number.
The maximum biased base 2 exponent for a double-precision floating-point number.
The minimum biased base 2 exponent for a subnormal double-precision floating-point number.
High word mask for the exponent of a double-precision floating-point number.
Return a double-precision floating-point number with the magnitude of x and the sign of y.
High word mask for excluding the sign bit of a double-precision floating-point number.
High word mask for the sign bit of a double-precision floating-point number.
Parse math interval
Round a double-precision floating-point number toward negative infinity.
Computes the cosine similarity between two arrays.
Computes the dot product between two numeric arrays.
Computes the L2 norm (Euclidean norm) of an array of values.
Gamma function.
Return the maximum value.
Compute the principal square root of a double-precision floating-point number.
Mathematical expression evaluator fork with prototype pollution fix
Round a numeric value to the nearest integer.
Round a double-precision floating-point number toward positive infinity.
Natural logarithm of 2.
Round a double-precision floating-point number toward zero.
High word mask for the significand of a double-precision floating-point number.
Natural exponential function.
Evaluate the natural logarithm of a double-precision floating-point number.