4 ms·
Haha, ok this blows my mind a little more now. This definitely helps me conceptualize the problem a bit better, even if I’m still not satisfied with it. I still
by LadyCailin 4y ago
Haha, ok this blows my mind a little more now. This definitely helps me conceptualize the problem a bit better, even if I’m still not satisfied with it. I still feel like there is a better solution, like giving 0 a sign or something.
- kragen 4y agoThat is in fact what we do in IEEE 754 floating point! We have +0 and -0; 1/+0 = +∞ and 1/-0 = -∞. However, this means that IEEE 754 floating point violates substitutability, the most basic property of equality, because +0 == -0 but in some cases f(+0) ≠ f(-0). You may enjoy Tom 7's paper/movie about this: http://tom7.org/nand/ http://tom7.org/nand/