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
  • 62.12
  • Published

math-float64-exponent

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

  • v1.0.0
  • 60.43
  • Published

math-float64-to-words

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

  • v1.0.0
  • 51.01
  • 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
  • 50.75
  • Published

math-abs

Computes an absolute value.

  • v1.0.2
  • 50.68
  • Published

math-exp

Natural exponential function.

  • v1.0.0
  • 50.56
  • Published

math-float64-normalize

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

  • v1.0.0
  • 50.26
  • Published

math-sqrt

Computes the principal square root.

  • v1.0.1
  • 49.08
  • Published

math-float64-copysign

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

  • v1.0.0
  • 48.55
  • Published

math-evalpoly

Evaluates a polynomial.

  • v1.1.0
  • 48.09
  • Published

math-float64-ldexp

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

  • v1.0.1
  • 47.21
  • Published

math-float64-set-low-word

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

  • v1.0.0
  • 45.59
  • Published

math-power

Exponential function.

  • v1.0.0
  • 44.96
  • Published

math-ceil

Rounds a numeric value toward positive infinity.

  • v1.0.0
  • 44.84
  • Published

math-float64-frexp

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

  • v1.0.0
  • 43.60
  • Published

math-erf

Error function.

  • v1.0.0
  • 43.37
  • Published

math-floor

Rounds a numeric value toward negative infinity.

  • v1.0.1
  • 41.07
  • Published

math-ln

Natural logarithm.

  • v1.0.0
  • 40.90
  • Published

math-hypot

Computes the square root of a sum of squares.

  • v1.0.0
  • 40.32
  • Published

math-erfc

Complementary error function.

  • v1.0.0
  • 40.03
  • Published

math-float32-to-binary-string

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

  • v1.0.0
  • 35.73
  • Published

math-erfinv

Inverse error function.

  • v1.0.0
  • 34.39
  • Published

math-erfcinv

Inverse complementary error function.

  • v1.0.0
  • 33.84
  • Published

math-truncate

Rounds a numeric value toward zero.

  • v1.0.0
  • 33.11
  • Published

math-sinpi

Computes sin(πx).

  • v1.0.1
  • 28.66
  • Published

math-cos

Computes the cosine of a number.

  • v1.0.0
  • 27.38
  • Published

math-sin

Computes the sine of a number.

  • v1.0.0
  • 26.94
  • Published

math-gammaln

Natural logarithm of the gamma function.

  • v1.0.0
  • 26.19
  • Published

math-float64-nextafter

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

  • v1.0.0
  • 25.45
  • Published

math-tan

Computes the tangent of a number.

  • v1.0.0
  • 25.19
  • Published

math-round

Rounds a numeric value to the nearest integer.

  • v1.0.0
  • 21.39
  • Published

math-gamma

Gamma function.

  • v1.0.2
  • 20.78
  • 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
  • 18.30
  • Published

math-float64-set-high-word

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

  • v1.0.0
  • 18.29
  • Published

float64-to-float32

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

  • v1.0.0
  • 17.99
  • Published

math-float64-bits

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

  • v1.0.1
  • 16.58
  • Published

math-powm1

Computes bˣ - 1.

  • v1.0.0
  • 16.36
  • Published

math-roundn

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

  • v1.0.0
  • 15.37
  • Published

math-float32-from-bits

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

  • v1.0.1
  • 15.08
  • Published

math-uint32-to-binary-string

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

  • v1.0.0
  • 14.61
  • Published

math-float32-nextafter

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

  • v1.0.0
  • 14.37
  • 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
  • 14.34
  • 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
  • 13.15
  • Published

math-float32-significand

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

  • v1.0.0
  • 12.98
  • Published

math-signum

Signum function.

  • v1.0.0
  • 12.00
  • Published

math-binomcoef

Computes the binomial coefficient.

  • v0.0.0
  • 11.68
  • 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
  • 11.68
  • Published

math-float32-bits

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

  • v1.0.0
  • 11.63
  • Published

math-float32-normalize

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

  • v1.0.1
  • 11.63
  • Published

math-betaln

Natural logarithm of the beta function.

  • v0.0.0
  • 11.42
  • Published

math-float64-from-bits

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

  • v1.0.0
  • 11.42
  • 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
  • 11.18
  • 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
  • 11.12
  • Published

math-float32-frexp

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

  • v1.0.0
  • 10.64
  • Published

math-uint8-bits

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

  • v1.0.0
  • 10.04
  • Published

math-beta

Beta function.

  • v0.0.0
  • 9.00
  • Published

math-float32-exponent

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

  • v1.0.0
  • 8.84
  • Published

math-float64-epsilon-difference

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

  • v1.0.0
  • 8.18
  • Published

math-cospi

Computes cos(πx).

  • v1.0.0
  • 7.82
  • Published

math-float64-to-binary-string

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

  • v1.0.1
  • 5.98
  • Published

math-uint16-to-binary-string

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

  • v1.0.1
  • 4.89
  • Published

math-uint16-bits

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

  • v1.0.0
  • 4.52
  • Published

stdmath

Standard Math library.

  • v0.0.4
  • 0.00
  • Published