JSPM

Found 72 results for math.io

math-float64-get-high-word

Returns a 32-bit integer corresponding to the more significant 32 bits of a double-precision floating-point number.

  • v1.0.0
  • 60.82
  • Published

math-float64-exponent

Returns an integer corresponding to the unbiased exponent of a double-precision floating-point number.

  • v1.0.0
  • 59.82
  • Published

math-abs

Computes an absolute value.

  • v1.0.2
  • 50.83
  • Published

math-float64-to-words

Splits a floating-point number into a higher order word and a lower order word.

  • v1.0.0
  • 50.53
  • Published

math-evalpoly

Evaluates a polynomial.

  • v1.1.0
  • 50.52
  • Published

math-exp

Natural exponential function.

  • v1.0.0
  • 50.07
  • Published

math-float64-from-words

Creates a double-precision floating-point number from a higher order word and a lower order word.

  • v1.0.0
  • 49.73
  • Published

math-ceil

Rounds a numeric value toward positive infinity.

  • v1.0.0
  • 49.45
  • Published

math-float64-normalize

Returns a normal number `y` and exponent `exp` satisfying `x = y * 2^exp`.

  • v1.0.0
  • 49.15
  • Published

math-floor

Rounds a numeric value toward negative infinity.

  • v1.0.1
  • 48.30
  • Published

math-float64-set-low-word

Sets the less significant 32 bits of a double-precision floating-point number.

  • v1.0.0
  • 48.25
  • Published

math-float64-copysign

Returns a double-precision floating-point number with the magnitude of x and the sign of y.

  • v1.0.0
  • 47.99
  • Published

math-float64-ldexp

Multiplies a double-precision floating-point number by an integer power of two.

  • v1.0.1
  • 46.96
  • Published

math-erf

Error function.

  • v1.0.0
  • 46.27
  • Published

math-float64-frexp

Splits a double-precision floating-point number into a normalized fraction and an integer power of two.

  • v1.0.0
  • 45.08
  • Published

math-truncate

Rounds a numeric value toward zero.

  • v1.0.0
  • 45.01
  • Published

math-sqrt

Computes the principal square root.

  • v1.0.1
  • 44.89
  • Published

math-erfc

Complementary error function.

  • v1.0.0
  • 41.19
  • Published

math-hypot

Computes the square root of a sum of squares.

  • v1.0.0
  • 40.58
  • Published

math-power

Exponential function.

  • v1.0.0
  • 39.79
  • Published

math-ln

Natural logarithm.

  • v1.0.0
  • 39.13
  • Published

math-float32-to-binary-string

Returns a string giving the literal bit representation of a single-precision floating-point number.

  • v1.0.0
  • 38.07
  • Published

math-sinpi

Computes sin(πx).

  • v1.0.1
  • 33.04
  • Published

math-erfcinv

Inverse complementary error function.

  • v1.0.0
  • 32.09
  • Published

math-sin

Computes the sine of a number.

  • v1.0.0
  • 30.07
  • Published

math-erfinv

Inverse error function.

  • v1.0.0
  • 30.00
  • Published

math-cos

Computes the cosine of a number.

  • v1.0.0
  • 30.00
  • Published

math-gammaln

Natural logarithm of the gamma function.

  • v1.0.0
  • 29.72
  • Published

math-tan

Computes the tangent of a number.

  • v1.0.0
  • 25.31
  • Published

math-float64-nextafter

Returns the next representable double-precision floating-point number after x toward y.

  • v1.0.0
  • 24.88
  • Published

math-round

Rounds a numeric value to the nearest integer.

  • v1.0.0
  • 18.08
  • Published

float64-to-float32

Converts a double-precision floating-point number to the nearest single-precision floating-point number.

  • v1.0.0
  • 15.95
  • Published

math-float32-from-bits

Creates a single-precision floating-point number from a literal bit representation.

  • v1.0.1
  • 15.57
  • Published

math-float64-to-binary-string

Returns a string giving the literal bit representation of a double-precision floating-point number.

  • v1.0.1
  • 14.50
  • Published

math-float64-bits

Returns a string giving the literal bit representation of a double-precision floating-point number.

  • v1.0.1
  • 14.28
  • Published

math-powm1

Computes bˣ - 1.

  • v1.0.0
  • 13.63
  • Published

math-float32-significand

Returns an integer corresponding to the significand of a single-precision floating-point number.

  • v1.0.0
  • 13.45
  • Published

math-float64-from-bits

Creates a double-precision floating-point number from a literal bit representation.

  • v1.0.0
  • 13.16
  • Published

math-signum

Signum function.

  • v1.0.0
  • 13.02
  • Published

math-float32-nextafter

Returns the next representable single-precision floating-point number after x toward y.

  • v1.0.0
  • 12.38
  • Published

math-roundn

Rounds a numeric value to the nearest multiple of 10^n.

  • v1.0.0
  • 11.58
  • Published

math-float64-get-low-word

Returns a 32-bit integer corresponding to the less significant 32 bits of a double-precision floating-point number.

  • v1.0.0
  • 9.92
  • Published

math-float32-bits

Returns a string giving the literal bit representation of a single-precision floating-point number.

  • v1.0.0
  • 9.82
  • Published

math-uint8-bits

Returns a string giving the literal bit representation of an unsigned 8-bit integer.

  • v1.0.0
  • 8.36
  • Published

stdmath

Standard Math library.

  • v0.0.4
  • 8.26
  • Published

math-uint16-to-binary-string

Returns a string giving the literal bit representation of an unsigned 16-bit integer.

  • v1.0.1
  • 7.82
  • Published

math-float32-to-word

Returns an unsigned 32-bit integer corresponding to the IEEE 754 binary representation of a single-precision floating-point number.

  • v1.0.0
  • 7.25
  • Published

math-float64-flipsign

Returns a double-precision floating-point number with the magnitude of x and the sign of x*y.

  • v1.0.0
  • 6.99
  • Published

math-betaln

Natural logarithm of the beta function.

  • v0.0.0
  • 6.20
  • Published

math-float64-set-high-word

Sets the more significant 32 bits of a double-precision floating-point number.

  • v1.0.0
  • 6.01
  • Published

math-float64-signbit

Returns a boolean indicating if the sign bit for a double-precision floating-point number is on (true) or off (false).

  • v1.0.0
  • 6.01
  • Published

math-uint16-bits

Returns a string giving the literal bit representation of an unsigned 16-bit integer.

  • v1.0.0
  • 6.01
  • Published

math-uint32-to-binary-string

Returns a string giving the literal bit representation of an unsigned 32-bit integer.

  • v1.0.0
  • 5.98
  • Published

math-float32-frexp

Splits a single-precision floating-point number into a normalized fraction and an integer power of two.

  • v1.0.0
  • 5.83
  • Published

math-cospi

Computes cos(πx).

  • v1.0.0
  • 5.83
  • Published

math-float32-exponent

Returns an integer corresponding to the unbiased exponent of a single-precision floating-point number.

  • v1.0.0
  • 4.93
  • Published

math-float32-signbit

Returns a boolean indicating if the sign bit for a single-precision floating-point number is on (true) or off (false).

  • v1.0.1
  • 4.54
  • Published

math-float32-from-word

Creates a single-precision floating-point number from an unsigned integer corresponding to an IEEE 754 binary representation.

  • v1.0.0
  • 4.41
  • Published

math-gamma

Gamma function.

  • v1.0.2
  • 2.88
  • Published

math-float64-epsilon-difference

Computes the relative difference of two real numbers in units of double-precision floating-point epsilon.

  • v1.0.0
  • 2.67
  • Published

math-float32-normalize

Returns a normal number `y` and exponent `exp` satisfying `x = y * 2^exp`.

  • v1.0.1
  • 2.65
  • Published

math-beta

Beta function.

  • v0.0.0
  • 2.65
  • Published

math-binomcoef

Computes the binomial coefficient.

  • v0.0.0
  • 2.58
  • Published