[Ecls-list] Lots of regressions due to -0.0
Juan Jose Garcia-Ripoll
juanjose.garciaripoll at googlemail.com
Wed Oct 1 13:45:27 UTC 2008
If you ever look at the automated build logs
http://ecls.sourceforge.net/logs.html
you will notice that the ANSI incompatibility tests have jumped from
about 32 to 68 or so.
This is due to the introduction of negative zeros, which are a source
of subtle "mistakes" because i) they are not EQL, but ii) they are =,
EQUAL and EQUALP, and iii) (< -0.0 0.0) is false but iv) (float-sign
-0.0) < (float-sign 0.0).
That causes the hash cache in subtypep to fail, it breaks the code for
handling intervals and other places.
Juanjo
--
Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28009 (Spain)
http://juanjose.garciaripoll.googlepages.com
More information about the ecl-devel
mailing list