3 ms·
The number was larger than 32,768, the largest integer storeable in a 16 bit signed integer, and thus the conversion failed. The largest 16-bit signed integer
by userbinator 12y ago
The number was larger than 32,768, the largest integer storeable in a 16 bit signed integer, and thus the conversion failed.
The largest 16-bit signed integer is actually 32767... although it probably would not have mattered in that case, it's a little ironic to find an off-by-one error on a page about numerical errors.
One event that comes to mind, not really a disaster, but a rather costly mistake caused by units confusion, is this: http://en.wikipedia.org/wiki/Gimli_Glider http://en.wikipedia.org/wiki/Gimli_Glider
- rplst8 12y agoThey may have used Excess-K representation... https://en.wikipedia.org/wiki/Signed_number_representations#Excess-K https://en.wikipedia.org/wiki/Signed_number_representations#...