3 ms·
A rising zero / falling zero is the difference between freezing and melting, where you can see zero as a fuzzy number that is too low to consider close to 1, an
by ksaj 6y ago
A rising zero / falling zero is the difference between freezing and melting, where you can see zero as a fuzzy number that is too low to consider close to 1, and too high to consider close to -1, while distinctly approaching one or the other.
Here's a LispWorks session:
CL-USER 1 > (minusp -0.0f0) ; as you said
NIL
CL-USER 2 > (< -0.f0 0.0f0) ; as minusp & you predict
NIL
CL-USER 3 > (* -0.f0 0.f0) ; but...
-0.0
CL-USER 4 >
It seems inconsistent that the multiply function understands that zero is approaching -1, but less-than doesn't.