Re:Yet another alternative to floating-point numbers
by bobowzki on Sunday November 01, 2020 @01:06AM
(#24957531)
Fixed point is very common, at least in some areas.
[ Parent
| on HN ]
Re:Yet another alternative to floating-point numbers
by MaxBarraclough on Sunday November 01, 2020 @06:50AM
(#24958843)
GCC has some support for fixed-point arithmetic, as an extension to the C language. Unfortunately only a very few target architectures are supported, not including AMD64. [0] (Unfortunately this page doesn't list which architectures are supported.)
As carlmr mentioned, the Ada language has built-in support for fixed-point arithmetic types.