Hacker News new | ask | show | jobs
by ErsatzVerkehr 4490 days ago
Integers are also exactly represented in the standard floating point formats, so this isn't even a particular advantage of DEC64.

What is "int truncation" anyway? Overflow?

1 comments

I believe he means the stuff that happens in js like 111111111111111110000 + 1111 = 111111111111111110000;

EDIT: not a javascript specific thing, rather a float one, methinks

To clarify, they are basic floating-point errors from C that happen to be errors for integers as well in Javascript, because Javascript does not support fixed-precision integers.