Fix ticket:71
authorRaymond Toy <toy.raymond@gmail.com>
Fri, 25 Jan 2013 04:28:09 +0000 (20:28 -0800)
committerRaymond Toy <toy.raymond@gmail.com>
Fri, 25 Jan 2013 04:28:09 +0000 (20:28 -0800)
The reader conditionals in {{{NOT-MORE-CONTAGIOUS}}} were incorrrectly
handling the case when the second type was a double-float. It was
always returning T in that case, but this is wrong if the first type
is a double-double-float.

src/compiler/srctran.lisp

index d2f0c3b..4b6f0ff 100644 (file)
                      (ecase format2
                        ((nil short-float single-float)
                         (member format1 '(short-float single-float)))
-                       #-long-float
+                       #-double-double
                        ((double-float long-float) 'T)
-                       #+(or long-float double-double)
+                       #+double-double
                        (double-float
                         (member format1 '(short-float single-float
                                           double-float)))