File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ Many programming languages have specific numeric types to represent different ty
77- ` bigint ` : a numeric data type that can represent _ integers_ in the arbitrary precision format.
88 Examples are ` -12n ` , ` 0n ` , ` 4n ` , and ` 9007199254740991n ` .
99
10- If you require arbitrary precision or work with extremely large numbers, use the ` bigint ` type.
10+ If you require [ arbitrary precision] [ ref-arbitrary-precision ] or work with extremely large numbers, use the ` bigint ` type.
1111Otherwise, the ` number ` type is likely the better option.
1212
1313## Rounding
@@ -20,3 +20,4 @@ Math.ceil(234.34); // => 235
2020```
2121
2222[ ref-math-object-rounding ] : https://javascript.info/number#rounding
23+ [ ref-arbitrary-precision ] : https://en.wikipedia.org/wiki/Arbitrary-precision_arithmetic
You can’t perform that action at this time.
0 commit comments