Search results
852 packages found
Round a numeric value to the nearest integer.
Round a double-precision floating-point number toward positive infinity.
Maximum unsigned 8-bit integer.
Maximum unsigned 16-bit integer.
Return an unsigned 32-bit integer corresponding to the IEEE 754 binary representation of a single-precision floating-point number.
- stdlib
- stdtypes
- base
- utilities
- utility
- utils
- util
- types
- type
- convert
- floating-point
- float32
- single
- float
- View more
Round a double-precision floating-point number toward zero.
- stdlib
- stdmath
- mathematics
- math
- math.trunc
- trunc
- truncate
- round
- integer
- number
- special function
- special
- function
- polyfill
Test if a finite double-precision floating-point number is an integer.
Compute the binomial coefficient.
- stdlib
- stdmath
- mathematics
- math
- special functions
- special
- function
- binomial
- combinatorics
- choose
- factorial
- fact
- integer
- number
Test if a value is a Uint16Array.
- stdlib
- stdassert
- assertion
- assert
- utilities
- utility
- utils
- util
- uint16array
- uint16
- unsigned
- integer
- int
- uint
- View more
Validate if a value is a positive integer between 0 & Number.MAX_SAFE_INTEGER
- assert
- assertion
- bound
- check
- ecmascript
- es2015
- guard
- int
- integer
- is-positive-int
- javascript
- maximum
- num
- number
- View more
Compute the natural logarithm of the binomial coefficient.
- stdlib
- stdmath
- mathematics
- math
- special functions
- special
- function
- binomial
- combinatorics
- choose
- factorial
- fact
- integer
- number
- View more
Maximum safe double-precision floating-point integer.
Check if a value is a natural number
Arbitrary-precision Integer, Rational and Float types based on the GMP and MPFR libraries
- gmp
- mpfr
- wasm
- arbitrary
- precision
- multi
- multiprecision
- arithmetic
- webassembly
- fast
- decimal
- large
- integer
- big
- View more
100+ assorted binary / bitwise operations, conversions, utilities, lookup tables
Ensures that a number is within the natural numbers (0, 1, 2...) or throws a RangeError
Maximum signed 32-bit integer.
Convert an unsigned 32-bit integer to a signed 32-bit integer.
Int32Array.
- stdlib
- stdtypes
- types
- data
- structure
- array
- typed
- typed array
- typed-array
- int32array
- int32
- int32_t
- integer
- int
- View more
Returns true if the given number is odd, and is an integer that does not exceed the JavaScript MAXIMUM_SAFE_INTEGER.