On Fri, 16 Oct 2026 22:19:37 GMT, Charlie Gibbs wrote:
> IMHO one of the biggest programming mistakes is using floating point
> when you can do it faster, more accurately, and more easily with
> integers.
Some languages offer direct support for “fixed-point” formats,
basically integers with a fixed scale factor, so you can do
calculations that keep a fractional part.
From what I gather, they tend to be difficult to use properly. The
problem seems to be keeping calculations within the permissible
dynamic range, to avoid overflow and underflow.
This is why floating-point tends to be far more popular.