3 ms·
It looks like the biggest critique is that checking for equality is slow, but checking floats for equality is almost always a bug anyway.
by rcthompson 11y ago
It looks like the biggest critique is that checking for equality is slow, but checking floats for equality is almost always a bug anyway.
- jhallenworld 11y agoThe base is 10, but the mantissa is in binary. Before you add or subtract you must get the numbers to have equal exponents. In other formats you can do it with shifting, but this format requires binary multiplication or division.
- nils-m-holm 11y agoS9fES (http://t3x.org/s9fes/ http://t3x.org/s9fes/) uses decimal-based real numbers and does multiplication, division and exponent equalization by shifting. It's not hard, since one digit equals one byte.