Re:Arithmetic in Computer Hardware
by pdpi on Friday November 17, 2023 @06:34AM
(#38302119)
In a sense, subtraction and division don’t really exist as full fledged operations on the reals anyway. They’re just convenient notation for additive/multiplicative inverses.
[ Parent
| on HN ]
Re:Arithmetic in Computer Hardware
by tialaramex on Friday November 17, 2023 @09:00AM
(#38303625)
The reals are irrelevant to a machine, because Almost All Reals Are Normal you definitely can't do real arithmetic with a machine.
Floating point is just the integers wearing a funny hat. Fixed point is a different funny hat. The rationals are two integers in a trenchcoat.
You can do a meaningful arithmetic with any real you're able to enter into the machine [0], and the tidbit they took the time to share makes sense even in that sort of restricted context.
[0] https://blog.acolyer.org/2020/10/02/toward-an-api-for-the-re...
Re:Arithmetic in Computer Hardware
by tialaramex on Saturday November 18, 2023 @05:45AM
(#38317926)
That's actually a really interesting piece of software, thanks for the link!