justinethier / cyclone

:cyclone: A brand-new compiler that allows practical application development using R7RS Scheme. We provide modern features and a stable system capable of generating fast native binaries.
http://justinethier.github.io/cyclone/
MIT License
823 stars 42 forks source link

Invalid equality between positive and negative infinity #512

Closed justinethier closed 11 months ago

justinethier commented 11 months ago

Negative and positive infinity should not be equivalent:

cyclone> (equal? +inf.0 -inf.0)
#t
cyclone> (= +inf.0 -inf.0)
#t
justinethier commented 11 months ago

Resolved in the latest round of fixes.