JSPM

Found 107 results for compute-io

math-float64-exponent

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

  • v1.0.0
  • 58.71
  • 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
  • 58.29
  • Published

math-abs

Computes an absolute value.

  • v1.0.2
  • 49.89
  • Published

math-evalpoly

Evaluates a polynomial.

  • v1.1.0
  • 48.34
  • Published

math-float64-to-words

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

  • v1.0.0
  • 48.04
  • 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
  • 47.37
  • Published

math-float64-set-low-word

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

  • v1.0.0
  • 47.36
  • Published

math-exp

Natural exponential function.

  • v1.0.0
  • 47.22
  • Published

math-float64-normalize

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

  • v1.0.0
  • 46.82
  • Published

math-ceil

Rounds a numeric value toward positive infinity.

  • v1.0.0
  • 46.64
  • Published

math-floor

Rounds a numeric value toward negative infinity.

  • v1.0.1
  • 46.50
  • Published

math-float64-ldexp

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

  • v1.0.1
  • 46.09
  • Published

math-float64-copysign

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

  • v1.0.0
  • 45.99
  • Published

math-erf

Error function.

  • v1.0.0
  • 45.42
  • Published

math-truncate

Rounds a numeric value toward zero.

  • v1.0.0
  • 43.14
  • 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.13
  • Published

math-sqrt

Computes the principal square root.

  • v1.0.1
  • 42.34
  • Published

math-erfc

Complementary error function.

  • v1.0.0
  • 39.65
  • Published

math-hypot

Computes the square root of a sum of squares.

  • v1.0.0
  • 38.89
  • Published

math-ln

Natural logarithm.

  • v1.0.0
  • 37.67
  • Published

math-power

Exponential function.

  • v1.0.0
  • 37.53
  • Published

math-float32-to-binary-string

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

  • v1.0.0
  • 37.37
  • Published

const-pi

Pi.

  • v1.0.3
  • 35.57
  • Published

math-erfcinv

Inverse complementary error function.

  • v1.0.0
  • 30.75
  • Published

math-sinpi

Computes sin(πx).

  • v1.0.1
  • 30.60
  • Published

math-erfinv

Inverse error function.

  • v1.0.0
  • 28.53
  • Published

math-gammaln

Natural logarithm of the gamma function.

  • v1.0.0
  • 28.49
  • Published

math-sin

Computes the sine of a number.

  • v1.0.0
  • 28.36
  • Published

math-cos

Computes the cosine of a number.

  • v1.0.0
  • 28.30
  • Published

math-tan

Computes the tangent of a number.

  • v1.0.0
  • 24.37
  • Published

math-float64-nextafter

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

  • v1.0.0
  • 23.84
  • Published

math-round

Rounds a numeric value to the nearest integer.

  • v1.0.0
  • 17.30
  • Published

float64-to-float32

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

  • v1.0.0
  • 15.04
  • Published

math-float32-from-bits

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

  • v1.0.1
  • 14.80
  • Published

blas-dnrm2

Computes the L2 norm (Euclidean norm).

  • v1.0.0
  • 14.47
  • Published

math-float64-to-binary-string

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

  • v1.0.1
  • 13.87
  • Published

math-float64-bits

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

  • v1.0.1
  • 13.60
  • Published

math-powm1

Computes bˣ - 1.

  • v1.0.0
  • 12.95
  • Published

math-float32-significand

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

  • v1.0.0
  • 12.81
  • Published

math-float64-from-bits

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

  • v1.0.0
  • 12.51
  • Published

const-e

Euler's number.

  • v1.0.1
  • 12.48
  • Published

math-signum

Signum function.

  • v1.0.0
  • 12.48
  • Published

math-float32-nextafter

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

  • v1.0.0
  • 12.15
  • Published

math-roundn

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

  • v1.0.0
  • 11.10
  • Published

const-log2e

Base 2 logarithm of Euler's number.

  • v1.0.0
  • 10.96
  • Published

blas-dcopy

Copies values from x into y.

  • v1.0.1
  • 10.76
  • Published

blas-dscal

Scales elements of `x` by a constant `alpha`.

  • v1.0.0
  • 10.60
  • Published

const-ln2

Natural logarithm of 2.

  • v1.0.0
  • 10.50
  • 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.50
  • Published

blas-daxpy

Multiplies x and a constant and adds the result to y.

  • v1.0.3
  • 9.31
  • Published

math-float32-bits

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

  • v1.0.0
  • 9.26
  • Published

blas-idamax

Finds the first element equal to the maximum absolute value of x and returns the element index.

  • v1.0.0
  • 9.13
  • Published

const-ln10

Natural logarithm of 10.

  • v1.0.0
  • 9.13
  • Published

blas-dasum

Computes the sum of absolute values (L1 norm).

  • v1.0.2
  • 8.75
  • Published

const-max-float64

Maximum double-precision floating-point number.

  • v1.0.1
  • 8.75
  • Published

math-uint8-bits

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

  • v1.0.0
  • 7.96
  • Published

stdmath

Standard Math library.

  • v0.0.4
  • 7.91
  • Published

blas-ddot

Computes the dot product of x and y.

  • v1.0.0
  • 7.91
  • Published

const-precision-float64

Effective number of bits in the significand of a double-precision floating-point number.

  • v1.0.1
  • 7.76
  • Published

const-max-float32

Maximum single-precision floating-point number.

  • v1.0.2
  • 7.76
  • Published

math-uint16-to-binary-string

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

  • v1.0.1
  • 7.24
  • 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
  • 6.94
  • 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.86
  • Published

const-eps-float64

Difference between one and the smallest value greater than one that can be represented as a double-precision floating-point number.

  • v1.0.0
  • 6.04
  • Published

const-eps-float16

Difference between one and the smallest value greater than one that can be represented as a half-precision floating-point number.

  • v1.0.0
  • 5.89
  • Published

math-betaln

Natural logarithm of the beta function.

  • v0.0.0
  • 5.89
  • Published

math-float64-set-high-word

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

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

math-uint16-bits

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

  • v1.0.0
  • 5.78
  • 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.72
  • Published

math-cospi

Computes cos(πx).

  • v1.0.0
  • 5.72
  • Published

blas-dswap

Interchanges the elements of x and y.

  • v1.0.0
  • 5.64
  • Published

const-precision-float16

Effective number of bits in the significand of a half-precision floating-point number.

  • v1.0.0
  • 5.64
  • Published

math-uint32-to-binary-string

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

  • v1.0.0
  • 5.64
  • Published

math-float32-exponent

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

  • v1.0.0
  • 4.57
  • Published

const-precision-float32

Effective number of bits in the significand of a single-precision floating-point number.

  • v1.0.0
  • 4.46
  • Published

const-eps-float32

Difference between one and the smallest value greater than one that can be represented as a single-precision floating-point number.

  • v1.0.0
  • 4.38
  • 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.38
  • 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.33
  • Published

const-log10e

Base 10 logarithm of Euler's number.

  • v1.0.0
  • 4.29
  • Published

math-gamma

Gamma function.

  • v1.0.2
  • 2.67
  • 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.56
  • Published

math-binomcoef

Computes the binomial coefficient.

  • v0.0.0
  • 2.53
  • Published

math-float32-normalize

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

  • v1.0.1
  • 2.50
  • Published

math-beta

Beta function.

  • v0.0.0
  • 2.50
  • Published