Re: Numerical equality bug

 new new list compose Reply to this message Top page
Attachments:
+ (text/plain)

Delete this message
Author: vapnik spaknik
Date:  
To: txr-users@kylheku.com
Subject: Re: Numerical equality bug
Another example:

1> (- 513.67 10.0)
503.67
2> (= (- 513.67 10.0) 503.67)
nil






On Saturday, February 5, 2022, 06:02:46 PM GMT, vapnik spaknik <vapniks@???> wrote:





This looks serious:

1> (- 1183.68 9.07)
1174.61
2> (= (- 1183.68 9.07) 1174.61)
nil
3> (/= (- 1183.68 9.07) 1174.61)
t
4> (< (- 1183.68 9.07) 1174.61)
nil
5> (> (- 1183.68 9.07) 1174.61)
t

Joe