Raymond Toy pushed to branch issue-435-add-core-math-lisp-support at cmucl / cmucl
Commits:
-
87935cac
by Raymond Toy at 2026-06-30T15:43:39-07:00
1 changed file:
Changes:
| ... | ... | @@ -688,12 +688,9 @@ |
| 688 | 688 | (let ((primf (intern (string (symbolicate prim "F"))
|
| 689 | 689 | "KERNEL")))
|
| 690 | 690 | (deftransform name ((x) '(single-float) rtype :eval-name t)
|
| 691 | - #-core-math
|
|
| 692 | - `(coerce (,prim (coerce x 'double-float)) 'single-float)
|
|
| 693 | - #+core-math
|
|
| 694 | 691 | `(,primf x))
|
| 695 | 692 | (deftransform name ((x) '(double-float) rtype :eval-name t :when :both)
|
| 696 | - `(,prim x)))))
|
|
| 693 | + `(,prim x)))))
|
|
| 697 | 694 | |
| 698 | 695 | #-core-math
|
| 699 | 696 | (dolist (stuff '((sqrt %sqrt float)))
|