mirror of
https://github.com/flynx/Course-JavaScript.git
synced 2025-10-30 11:30:07 +00:00
...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
36b4f1f700
commit
87f27348a7
@ -72,7 +72,7 @@
|
|||||||
0.1 + 0.2 == 0.3 // -> false
|
0.1 + 0.2 == 0.3 // -> false
|
||||||
|
|
||||||
// This is due to how floating point numbets ate traditionally
|
// This is due to how floating point numbets ate traditionally
|
||||||
// implemented on CPUs, see: IEEE-754
|
// implemented on CPUs (see: IEEE-754).
|
||||||
|
|
||||||
// - large number rounding
|
// - large number rounding
|
||||||
Number.MAX_SAFE_INTEGER + 10 - 10 == Number.MAX_SAFE_INTEGER
|
Number.MAX_SAFE_INTEGER + 10 - 10 == Number.MAX_SAFE_INTEGER
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user