Uncaught float conversion error during constant folding of * with multiple arguments
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SBCL |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
(compile nil '(lambda () (* 213469366966812475 -253746006468889 33554426 1.0)))
==>
Too large to be represented as a SINGLE-FLOAT:
1817542572045
[...]
0: ((LABELS SB-BIGNUM:
1: ((LABELS SB-BIGNUM:
2: (SB-KERNEL:
3: (SB-KERNEL:
4: (* -18175425720453
5: (SB-C::
6: (SB-C::
[...]
Note that this does NOT happen if the integer is computed in a nested * form.
(compile nil '(lambda () (* (* 213469366966812475 -253746006468889 33554426) 1.0)))
==> error is caught during the compile
Changed in sbcl: | |
status: | Fix Committed → Fix Released |
6ea220e4c1622eb a1eb4a784f4b8f8 e1d9e5a4e7