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

math-float64-exponent

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

  • v1.0.0
  • 56.93
  • Published

math-floor

Rounds a numeric value toward negative infinity.

  • v1.0.1
  • 51.31
  • Published

math-ceil

Rounds a numeric value toward positive infinity.

  • v1.0.0
  • 50.37
  • 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.60
  • Published

math-float64-to-words

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

  • v1.0.0
  • 49.56
  • Published

math-abs

Computes an absolute value.

  • v1.0.2
  • 49.41
  • Published

math-float64-normalize

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

  • v1.0.0
  • 49.21
  • Published

math-exp

Natural exponential function.

  • v1.0.0
  • 47.48
  • Published

math-float64-copysign

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

  • v1.0.0
  • 46.33
  • Published

math-truncate

Rounds a numeric value toward zero.

  • v1.0.0
  • 45.98
  • Published

math-float64-set-low-word

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

  • v1.0.0
  • 45.16
  • Published

math-float64-ldexp

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

  • v1.0.1
  • 44.97
  • Published

math-erf

Error function.

  • v1.0.0
  • 44.11
  • Published

math-sqrt

Computes the principal square root.

  • v1.0.1
  • 43.46
  • 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.04
  • Published

math-float32-to-binary-string

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

  • v1.0.0
  • 39.60
  • Published

math-hypot

Computes the square root of a sum of squares.

  • v1.0.0
  • 39.07
  • Published

math-ln

Natural logarithm.

  • v1.0.0
  • 38.19
  • Published

math-erfc

Complementary error function.

  • v1.0.0
  • 36.39
  • Published

math-erfinv

Inverse error function.

  • v1.0.0
  • 34.44
  • Published

math-power

Exponential function.

  • v1.0.0
  • 34.32
  • Published

math-gamma

Gamma function.

  • v1.0.2
  • 31.05
  • Published

math-sin

Computes the sine of a number.

  • v1.0.0
  • 30.67
  • Published

math-sinpi

Computes sin(πx).

  • v1.0.1
  • 27.54
  • Published

math-erfcinv

Inverse complementary error function.

  • v1.0.0
  • 27.45
  • Published

math-float64-bits

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

  • v1.0.1
  • 26.41
  • Published

math-cos

Computes the cosine of a number.

  • v1.0.0
  • 25.21
  • Published

math-gammaln

Natural logarithm of the gamma function.

  • v1.0.0
  • 25.20
  • Published

math-tan

Computes the tangent of a number.

  • v1.0.0
  • 23.91
  • Published

math-round

Rounds a numeric value to the nearest integer.

  • v1.0.0
  • 22.00
  • Published

math-float64-nextafter

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

  • v1.0.0
  • 19.17
  • Published

math-powm1

Computes bˣ - 1.

  • v1.0.0
  • 17.34
  • Published

math-float32-significand

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

  • v1.0.0
  • 16.27
  • Published

math-float64-from-bits

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

  • v1.0.0
  • 15.90
  • Published

float64-to-float32

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

  • v1.0.0
  • 15.66
  • Published

math-roundn

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

  • v1.0.0
  • 15.22
  • Published

math-float64-set-high-word

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

  • v1.0.0
  • 14.91
  • Published

math-float32-from-bits

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

  • v1.0.1
  • 14.86
  • Published

math-float64-epsilon-difference

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

  • v1.0.0
  • 14.64
  • Published

math-float32-nextafter

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

  • v1.0.0
  • 14.19
  • Published

math-signum

Signum function.

  • v1.0.0
  • 13.95
  • 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
  • 13.91
  • Published

math-uint8-bits

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

  • v1.0.0
  • 13.67
  • 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
  • 13.34
  • Published

math-uint16-to-binary-string

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

  • v1.0.1
  • 12.68
  • Published

math-float32-normalize

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

  • v1.0.1
  • 12.48
  • Published

math-float32-frexp

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

  • v1.0.0
  • 12.41
  • 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
  • 12.39
  • Published

stdmath

Standard Math library.

  • v0.0.4
  • 12.17
  • Published

math-float32-exponent

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

  • v1.0.0
  • 12.06
  • Published

math-uint32-to-binary-string

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

  • v1.0.0
  • 12.00
  • 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.99
  • 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
  • 11.65
  • 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.53
  • Published

math-binomcoef

Computes the binomial coefficient.

  • v0.0.0
  • 11.53
  • Published

math-betaln

Natural logarithm of the beta function.

  • v0.0.0
  • 11.53
  • Published

math-float32-bits

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

  • v1.0.0
  • 11.49
  • Published

math-uint16-bits

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

  • v1.0.0
  • 11.29
  • Published

math-float64-to-binary-string

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

  • v1.0.1
  • 10.46
  • Published

math-beta

Beta function.

  • v0.0.0
  • 10.32
  • Published

math-cospi

Computes cos(πx).

  • v1.0.0
  • 9.92
  • Published