Raymond Toy pushed to branch issue-156-take-2-nan-comparison at cmucl / cmucl
Commits:
- 
dd3bbe83
by Raymond Toy at 2023-03-11T15:25:33-08:00
1 changed file:
Changes:
| ... | ... | @@ -568,7 +568,7 @@ | 
| 568 | 568 |    (%deftransform x '(function (rational float) *) #'float-contagion-arg1)
 | 
| 569 | 569 |    (%deftransform x '(function (float rational) *) #'float-contagion-arg2))
 | 
| 570 | 570 | |
| 571 | -(dolist (x '(= < > + * / -))
 | |
| 571 | +(dolist (x '(= < > + * / - #+x86 <= #+x86 >=))
 | |
| 572 | 572 |    (%deftransform x '(function (single-float double-float) *)
 | 
| 573 | 573 |  		 #'float-contagion-arg1)
 | 
| 574 | 574 |    (%deftransform x '(function (double-float single-float) *)
 | 
| ... | ... | @@ -591,7 +591,11 @@ | 
| 591 | 591 |  		`(,',op x (float y x)))))
 | 
| 592 | 592 |    (frob <)
 | 
| 593 | 593 |    (frob >)
 | 
| 594 | -  (frob =))
 | |
| 594 | +  (frob =)
 | |
| 595 | +  #+x86
 | |
| 596 | +  (frob <=)
 | |
| 597 | +  #+x86
 | |
| 598 | +  (frob >=))
 | |
| 595 | 599 | |
| 596 | 600 |  ;; Convert (/ x n) to (* x (/ n)) when x is a float and n is a power
 | 
| 597 | 601 |  ;; of two, because (/ n) can be reprsented exactly.
 |