0.0.62 โ€ข Published 3 years ago

extra-bigint.min v0.0.62

Weekly downloads
3
License
MIT
Repository
github
Last release
3 years ago

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

NameAction
isChecks if value is a BigInt.
isPrimeChecks if value is prime.
floorDivGives value โ‰ค x/y.
ceilDivGives value โ‰ฅ x/y.
absGives absolute value.
signGives sign of value.
remGets remainder of x/y with sign of x (truncated division).
modGets remainder of x/y with sign of y (floored division).
modpGets remainder of x/y with +ve sign (euclidean division).
sqrtGives square root of value.
cbrtGives cube root of value.
rootGives nth root of value.
hypotGives length of hypotenuse.
log2Gives base-2 logarithm of value.
log10Gives base-10 logarithm of value.
minGives smallest value.
maxGives largest value.
rangeGives smallest and largest value.
lcmGives least common multiple of values.
gcdGives greatest common divisor of values.
hcfGives highest common factor of values.
sumGives sum of values (ฮฃ).
productGives product of values (โˆ).
arithmeticMeanGives arithmetic mean of values.
geometricMeanGives geometric mean of values.
harmonicMeanGives harmonic mean of values.
cubicMeanGives cubic mean of values.

npm.io

npm.io npm.io

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