News for hackers. Stuff that matters.
Re:Some disasters caused by numerical errors by ahelwer on Sunday February 01, 2015 @04:25PM (#8981732)
> Converting a 64-bit floating point number to a 16-bit int is something a first year computer science student would be embarrassed about.

Try enabling compiler warnings on a legacy system sometime and let me know how many of those embarrassing errors you find :)

Re:Some disasters caused by numerical errors by cnvogel on Monday February 02, 2015 @03:14AM (#8983199)
Probably something along the lines of...

    (...)
    writing legacysystem_firmware.hex (387123 bytes)

    Build finished successfully, with 71245 warnings.
Good look, finding the "unsigned short x = floatval;" line, that doesn't even trigger a warning in the first place ;-).