0.0.62 โข Published 3 years ago
extra-bigint.min v0.0.62
A BigInt can represent whole numbers larger than 2โตยณ - 1. ๐ฆ NPM, ๐บ GitHub, ๐ RunKit, ๐ Minified, ๐ Files, ๐ฐ JSDoc, ๐ Wiki.
Stability: Experimental.
This is browserified, minified version of extra-bigint. It is exported as global variable bigint. CDN: unpkg, jsDelivr.
const bigint = require("extra-bigint");
// import * as bigint from "extra-bigint";
// import * as bigint from "https://unpkg.com/extra-bigint@0.0.60/index.mjs"; (deno)
bigint.log2(10n);
bigint.log2(11n);
bigint.log2(12n);
// 3
Index
Name | Action |
---|---|
is | Checks if value is a BigInt. |
isPrime | Checks if value is prime. |
floorDiv | Gives value โค x/y. |
ceilDiv | Gives value โฅ x/y. |
abs | Gives absolute value. |
sign | Gives sign of value. |
rem | Gets remainder of x/y with sign of x (truncated division). |
mod | Gets remainder of x/y with sign of y (floored division). |
modp | Gets remainder of x/y with +ve sign (euclidean division). |
sqrt | Gives square root of value. |
cbrt | Gives cube root of value. |
root | Gives nth root of value. |
hypot | Gives length of hypotenuse. |
log2 | Gives base-2 logarithm of value. |
log10 | Gives base-10 logarithm of value. |
min | Gives smallest value. |
max | Gives largest value. |
range | Gives smallest and largest value. |
lcm | Gives least common multiple of values. |
gcd | Gives greatest common divisor of values. |
hcf | Gives highest common factor of values. |
sum | Gives sum of values (ฮฃ). |
product | Gives product of values (โ). |
arithmeticMean | Gives arithmetic mean of values. |
geometricMean | Gives geometric mean of values. |
harmonicMean | Gives harmonic mean of values. |
cubicMean | Gives cubic mean of values. |
0.0.62
3 years ago
0.0.60
3 years ago
0.0.61
3 years ago
0.0.56
3 years ago
0.0.55
3 years ago
0.0.54
4 years ago
0.0.53
4 years ago
0.0.51
4 years ago
0.0.49
4 years ago
0.0.48
4 years ago
0.0.46
4 years ago
0.0.45
4 years ago
0.0.41
4 years ago
0.0.42
4 years ago
0.0.39
4 years ago
0.0.38
4 years ago
0.0.35
4 years ago
0.0.36
4 years ago
0.0.34
4 years ago
0.0.33
4 years ago
0.0.32
4 years ago
0.0.31
4 years ago
0.0.30
4 years ago
0.0.26
4 years ago
0.0.27
4 years ago
0.0.23
4 years ago
0.0.22
4 years ago
0.0.21
4 years ago
0.0.20
4 years ago
0.0.18
4 years ago
0.0.19
4 years ago
0.0.14
4 years ago
0.0.15
4 years ago
0.0.16
4 years ago
0.0.13
4 years ago
0.0.10
4 years ago
0.0.12
4 years ago
0.0.8
4 years ago
0.0.7
4 years ago
0.0.6
4 years ago