An example of creating a package
Math.js is an extensive math library for JavaScript and Node.js. It features a flexible expression parser with support for symbolic computation, comes with a large set of built-in functions and constants, and offers an integrated solution to work with dif
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.
Test if a double-precision floating-point numeric value is NaN.
Compute the absolute value of a double-precision floating-point number.
Test if a double-precision floating-point numeric value is infinite.
Return the real and imaginary components of a double-precision complex floating-point number.
Return the real and imaginary components of a single-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.
Return a double-precision floating-point number with the magnitude of x and the sign of y.
High word mask for the exponent of a double-precision floating-point number.
Parse math interval
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.
latex math extension for tiptap
Computes the dot product between two numeric arrays.
Computes the cosine similarity between two arrays.
Computes the L2 norm (Euclidean norm) of an array of values.
Mathematical expression evaluator fork with prototype pollution fix
Round a double-precision floating-point number toward negative infinity.
Test if a finite double-precision floating-point number is an integer.
Exponential function.
Test if a finite numeric value is an odd number.
Mathematical and logical utilities used by react-gifted-charts and react-native-gifted-charts
Return the maximum value.
Gamma function.
Test if a finite numeric value is an even number.
Test if a double-precision floating-point numeric value is positive zero.
Round a numeric value to the nearest integer.
Compute the principal square root of a double-precision floating-point number.
Evaluate the natural logarithm of a double-precision floating-point number.
Find how many values of a discrete periodic function are contained in an interval.
Find the nearest value of a discrete periodic function, given a point.