Fix various infinity and NaN screw cases for <, MIN, MAX, *, and /.
authorTaylor R Campbell <campbell@mumble.net>
Tue, 4 Jun 2013 05:22:42 +0000 (05:22 +0000)
committerTaylor R Campbell <campbell@mumble.net>
Tue, 4 Jun 2013 05:22:47 +0000 (05:22 +0000)
commit3d300fd85b6db7db6b697bed2be674641ba42a59
tree5ded2902b5d497c67d2090e4bab81914e5b9f4a6
parent0fd3fbddbf0f416bc45a6cd38d001484c4c18c40
Fix various infinity and NaN screw cases for <, MIN, MAX, *, and /.

Behaviour is as prescribed by IEEE 754.  Most of the changes that
involve FLO:NAN? use it only in mixed-exactness branches, which are
not particularly performance-critical anyway.  Eventually we ought to
make FLO:NAN? and FLO:FINITE? open-codable primitives, and add
FLO:INFINITE?, FLO:NORMAL?, and FLO:SUBNORMAL? likewise.
src/runtime/arith.scm