Arbitrary precision integral arithmetic for Node.js using OpenSSL. This library is based on node-bigint by substack, but instead of using libgmp, it uses the builtin bignum functionality provided by OpenSSL. The advantage is that OpenSSL is already part of Node.js, so this library does not add any external dependency whatsoever.
openssl big bignum bigint integer arithmetic precisionThis is a bit packing library. Bit packing is the process by which you take arrays of (32-bit) integers that fit in [0,2^L) and you write them out using as close to L bits per integer as possible.For long blocks of integers (e.g., 128 integers or more), SIMD bit packing is ideal. See for example https://github.com/lemire/simdcomp where blocks of 128 integers are packed and unpacked very fast.
integer integer-compression compression performanceJavaScript Big Integer library based upon Tom Wu's work.
bignum cryptography math bitcoin arbitrary precision arithmetic big integer int number biginteger bigint bignumber decimal floatA function which will always return the same output given the same input. The output is an integer in the range 0..n. By default n is infinity-1, but another max value can be provided as an optional 2nd argument.The output is not guaranteed to be unique - only to be predictable based on the input.
hash hashing rand random int integerAwesome implementation of 64-bit integers in JS.This software is licensed under the MIT License.
int64 awesome 64bit integerAt most, a number will take 10 bytes to store (2 more bytes than a regular double) but all numbers less than 251 only take a single byte.If encoding is undefined or 'array', return an array of byte values between 0 and 255, inclusive for the integer n.
lexicographic encoding pack padding integerThis library wraps around libgmp's integer functions to perform infinite-precision arithmetic.You should also consider using bignum, which is based on the bigint api but uses openssl instead of libgmp, which you are more likely to already have on your system.
gmp libgmp big bignum bigint integer arithmetic precisionThis is not cryptographically secure.Initialization seed. Multiple instances of Randoma with the same seed will generate the same random numbers.
prng pseudorandom pseudorandom-number-generator nodejs npm-package number generator algorithm random integer int float boolean date seed seeded rngPark-Miller pseudorandom number generator (PRNG)
park-miller prng pseudorandom pseudorandom-number-generator random nodejs npm-package park miller number generator algorithm lcg congruential integer int float boolean seed seeded rng lehmerStochator is a tiny library providing for creating a variety of random value generators. To create a Stochator object, simply invoke the constructor and pass it an options object with a kind property. If not provided, kind is 'float'.
random numbers values color string integer array shuffle set markov chain generator prng normal distributionJavaScript's number based on IEEE-754 could only handle 53 bits precision. This module provides two pair of classes: Int64BE/Uint64BE and Int64LE/Uint64LE which could hold 64 bits long integer and loose no bit. Int64BE is the class to host a 64 bit signed long integer int64_t.
64bit ieee-754 arraybuffer buffer int int64 int8array integer long longlong signed uint64 unsingedstRange.js is a range object for JavaScript. Use it to have a single value type with two endpoints and their boundaries. Also implements an interval tree for quick lookups. Stringifies itself in the style of [begin,end) and allows you to parse a string back. Also useful with PostgreSQL. stRange.js follows semantic versioning, so feel free to depend on its major version with something like >= 1.0.0 < 2 (a.k.a ^1.0.0).
range ranges interval interval-tree bst integer integers sort bounds mathA tool for generating short ids like Youtube, Bitly and Imgur.
hash shorten shorten-urls encode decode url integerAn unsigned 32 bits integer is represented by an object with its first 16 bits (low bits) and its 16 last ones (high bits). All the supported standard operations on the unsigned integer are then performed transparently. NB. In case of overflow, the unsigned integer is truncated to its lowest 32 bits (in case of UINT32) or 64 bits (in case of UINT64).
unsigned integer 32bits 64bits
We have large collection of open source products. Follow the tags from
Tag Cloud >>
Open source products are scattered around the web. Please provide information
about the open source projects you own / you use.
Add Projects.