JSPM

Found 72 results for math.io

math-float64-exponent

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

  • v1.0.0
  • 59.87
  • Published

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

math-float64-to-words

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

  • v1.0.0
  • 50.94
  • Published

math-evalpoly

Evaluates a polynomial.

  • v1.1.0
  • 50.93
  • Published

math-abs

Computes an absolute value.

  • v1.0.2
  • 50.92
  • Published

math-exp

Natural exponential function.

  • v1.0.0
  • 50.40
  • Published

math-ceil

Rounds a numeric value toward positive infinity.

  • v1.0.0
  • 49.78
  • 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.03
  • Published

math-floor

Rounds a numeric value toward negative infinity.

  • v1.0.1
  • 48.80
  • Published

math-float64-set-low-word

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

  • v1.0.0
  • 48.34
  • Published

math-float64-normalize

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

  • v1.0.0
  • 48.30
  • Published

math-float64-ldexp

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

  • v1.0.1
  • 47.05
  • Published

math-erf

Error function.

  • v1.0.0
  • 46.36
  • 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.45
  • Published

math-sqrt

Computes the principal square root.

  • v1.0.1
  • 45.19
  • Published

math-float64-copysign

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

  • v1.0.0
  • 44.93
  • Published

math-truncate

Rounds a numeric value toward zero.

  • v1.0.0
  • 44.07
  • Published

math-erfc

Complementary error function.

  • v1.0.0
  • 41.61
  • Published

math-power

Exponential function.

  • v1.0.0
  • 40.05
  • Published

math-ln

Natural logarithm.

  • v1.0.0
  • 39.53
  • Published

math-hypot

Computes the square root of a sum of squares.

  • v1.0.0
  • 38.82
  • 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.14
  • Published

math-sinpi

Computes sin(πx).

  • v1.0.1
  • 33.35
  • Published

math-sin

Computes the sine of a number.

  • v1.0.0
  • 30.26
  • Published

math-erfinv

Inverse error function.

  • v1.0.0
  • 30.25
  • Published

math-cos

Computes the cosine of a number.

  • v1.0.0
  • 30.20
  • Published

math-erfcinv

Inverse complementary error function.

  • v1.0.0
  • 29.91
  • Published

math-gammaln

Natural logarithm of the gamma function.

  • v1.0.0
  • 28.13
  • Published

math-float64-nextafter

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

  • v1.0.0
  • 25.85
  • Published

math-tan

Computes the tangent of a number.

  • v1.0.0
  • 25.57
  • Published

math-round

Rounds a numeric value to the nearest integer.

  • v1.0.0
  • 18.23
  • Published

float64-to-float32

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

  • v1.0.0
  • 16.05
  • Published

math-float32-from-bits

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

  • v1.0.1
  • 15.70
  • Published

math-float64-bits

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

  • v1.0.1
  • 15.28
  • 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.61
  • Published

math-float32-significand

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

  • v1.0.0
  • 14.21
  • Published

math-powm1

Computes bˣ - 1.

  • v1.0.0
  • 13.74
  • Published

math-float64-from-bits

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

  • v1.0.0
  • 13.27
  • Published

math-float32-nextafter

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

  • v1.0.0
  • 12.40
  • Published

math-signum

Signum function.

  • v1.0.0
  • 11.90
  • 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
  • 10.00
  • Published

math-float32-bits

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

  • v1.0.0
  • 9.88
  • Published

math-roundn

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

  • v1.0.0
  • 9.84
  • Published

math-uint8-bits

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

  • v1.0.0
  • 9.20
  • Published

stdmath

Standard Math library.

  • v0.0.4
  • 8.33
  • Published

math-uint16-to-binary-string

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

  • v1.0.1
  • 7.89
  • 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.31
  • 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
  • 7.00
  • Published

math-betaln

Natural logarithm of the beta function.

  • v0.0.0
  • 6.25
  • Published

math-float64-set-high-word

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

  • v1.0.0
  • 6.07
  • 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.07
  • Published

math-uint16-bits

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

  • v1.0.0
  • 6.07
  • Published

math-uint32-to-binary-string

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

  • v1.0.0
  • 6.02
  • 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.84
  • Published

math-cospi

Computes cos(πx).

  • v1.0.0
  • 5.84
  • Published

math-float32-exponent

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

  • v1.0.0
  • 4.98
  • 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.59
  • 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.42
  • Published

math-gamma

Gamma function.

  • v1.0.2
  • 2.91
  • 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.70
  • Published

math-float32-normalize

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

  • v1.0.1
  • 2.66
  • Published

math-beta

Beta function.

  • v0.0.0
  • 2.66
  • Published

math-binomcoef

Computes the binomial coefficient.

  • v0.0.0
  • 2.58
  • Published