Raymond Toy pushed to branch issue-156-take-2-nan-comparison at cmucl / cmucl
Commits:
-
bd505bab
by Raymond Toy at 2023-03-08T07:56:11-08:00
1 changed file:
Changes:
... | ... | @@ -670,13 +670,13 @@ |
670 | 670 | |
671 | 671 | (declaim (inline dd<=))
|
672 | 672 | (defun dd<= (a0 a1 b0 b1)
|
673 | - (and (<= a0 b0)
|
|
674 | - (<= a1 b1)))
|
|
673 | + (or (dd> a0 a1 b0 b1)
|
|
674 | + (dd= a0 a1 b0 b1)))
|
|
675 | 675 | |
676 | 676 | (declaim (inline dd>=))
|
677 | 677 | (defun dd>= (a0 a1 b0 b1)
|
678 | - (and (>= a0 b0)
|
|
679 | - (>= a1 b1)))
|
|
678 | + (or (dd> a0 a1 b0 b1)
|
|
679 | + (dd= a0 a1 b0 b1)))
|
|
680 | 680 | |
681 | 681 | (deftransform = ((a b) (vm::double-double-float vm::double-double-float) *)
|
682 | 682 | `(dd= (kernel:double-double-hi a)
|