typed-numbers
Super simple type-safe fixed-length integers for TypeScript/JavaScript
Super simple type-safe fixed-length integers for TypeScript/JavaScript
Typescript Primitives
Perform C-like multiplication of two signed 32-bit integers.
Compute an absolute value of a signed 32-bit integer.
Int32Array.
Generate a linearly spaced numeric array whose elements increment by 1 starting from one.
Generate a linearly spaced numeric array whose elements increment by 1 starting from one and having the same length and data type as a provided input array.
Generate a linearly spaced numeric array whose elements increment by 1 starting from zero.
Generate a linearly spaced numeric array whose elements increment by 1 starting from zero and having the same length and data type as a provided input array.
Create a zero-filled array having a specified length.
Create a zero-filled array having the same length and data type as a provided array.
Create a typed array.
Create a typed array.
Create an array filled with ones and having a specified length.
Create an array filled with ones and having the same length and data type as a provided array.
Perform C-like multiplication of two signed 32-bit integers.
Test whether an unsigned integer is a power of 2.
Convert a single-precision floating-point number to a signed 32-bit integer.
Create a double-precision floating-point number from a higher order word and a lower order word.
Convert a double-precision floating-point number to a signed 32-bit integer.