News for hackers. Stuff that matters.
Re:Formatting floating point numbers by rwallace on Friday June 14, 2019 @06:25PM (#20187158)
The way I see it, 'int' as a truncation of 'integer' nicely symbolizes the way the type truncates integers to a fixed number of bits.

Of course any self-respecting modern language should also provide arbitrary-precision integers at least as an option.

Re:Formatting floating point numbers by astrobe_ on Saturday June 15, 2019 @10:58AM (#20190285)
It is not a matter of modernity, but a matter of use-case. You don't need arbitrary-length integers for a coffee machine or a fridge. You don't even need FP to handle e.g. temperatures; fixed-point is often more than enough. So if you are making some sort of "portable assembler" for IOT devices, you can safely stick with simple integers.