Encoding unit — one grounded idea

1 Floating point arithmetic is significantly slower than integer arithmetic on the Z80 processor due to the need to align decimal points before addition.
“One of the reasons floats are so expensive is because you have to account for the fact that the decimal in two floating point numbers might not be in the same place. Before we can add two numbers, we have to make sure all their digits are lined up properly, but if we can be sure that the decimals are always in the same spot, we can treat these numbers like integers.”
spoken · 209s · 2022-02-10 · en-US · The Science Elf · Raytracing on a Graphing Calculator (again)
id: 3dca78bbd2f9d587
concepts in this idea