Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2023-07-19 22:25:15 +03:00
parent 9e239f7776
commit 290f81c552

View File

@ -68,10 +68,11 @@
// Numbers also have several limitations:
//
// - precision, rounding errors and fractions (IEEE-754)
// - precision, rounding errors and fractions
0.1 + 0.2 == 0.3 // -> false
// XXX
// This is due to how floating point numbets ate traditionally
// implemented on CPUs, see: IEEE-754
// - large number rounding
Number.MAX_SAFE_INTEGER + 10 - 10 == Number.MAX_SAFE_INTEGER