From df19586f9f151ecd38d02a4daf00b5a408f16d63 Mon Sep 17 00:00:00 2001 From: Stephen Spinks Date: Wed, 21 Jan 2026 12:31:45 +0000 Subject: [PATCH] Add a link to an arbitrary precision explanation --- concepts/numbers/introduction.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/concepts/numbers/introduction.md b/concepts/numbers/introduction.md index 4327074891..6cef5b1aab 100644 --- a/concepts/numbers/introduction.md +++ b/concepts/numbers/introduction.md @@ -7,7 +7,7 @@ Many programming languages have specific numeric types to represent different ty - `bigint`: a numeric data type that can represent _integers_ in the arbitrary precision format. Examples are `-12n`, `0n`, `4n`, and `9007199254740991n`. -If you require arbitrary precision or work with extremely large numbers, use the `bigint` type. +If you require [arbitrary precision][ref-arbitrary-precision] or work with extremely large numbers, use the `bigint` type. Otherwise, the `number` type is likely the better option. ## Rounding @@ -20,3 +20,4 @@ Math.ceil(234.34); // => 235 ``` [ref-math-object-rounding]: https://javascript.info/number#rounding +[ref-arbitrary-precision]: https://en.wikipedia.org/wiki/Arbitrary-precision_arithmetic