Removed the divisions by zero that I had used to create floating-point
authorArthur A. Gleckler <gnu@speechcode.com>
Thu, 2 Sep 2010 03:48:14 +0000 (20:48 -0700)
committerArthur A. Gleckler <gnu@speechcode.com>
Thu, 2 Sep 2010 03:48:14 +0000 (20:48 -0700)
infinities since those are supposed to trap, not actually return
infinities.  On OS X, the trap doesn't happen, but I shouldn't depend
on a bug.

tests/microcode/test-flonum-casts.scm

index e27e60d1674cf044967a0df29514e4912206d512..48b7a64188541042dbebe22f986039af70345b36 100644 (file)
@@ -53,10 +53,6 @@ USA.
        flonum
        (itof integer-as-bit-string)))
 
-    (test (/ 1.0 0.0)
-         #*0111111111110000000000000000000000000000000000000000000000000000)
-    (test (/ -1.0 0.0)
-         #*1111111111110000000000000000000000000000000000000000000000000000)
     (test 0.0
          #*0000000000000000000000000000000000000000000000000000000000000000)
     (test -0.0