Skip to content

Commit 75e094e

Browse files
authored
Add a link to an arbitrary precision explanation (#2810)
1 parent ffcc478 commit 75e094e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

concepts/numbers/introduction.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff 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.
1111
Otherwise, 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

0 commit comments

Comments
 (0)