Should FLOAT signal a TYPE-ERROR or an ARITHMETIC-ERROR on overflow?

Bug #1732264 reported by Paul F. Dietz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SBCL
Fix Released
Low
Unassigned

Bug Description

(float 10000000000000000000000000000000000000000000000000000) ==> simple-type-error

(float 10000000000000000000000000000000000000000000000000000/3) ==> floating-point-overflow error

Stas Boukarev (stassats)
Changed in sbcl:
status: New → Triaged
importance: Undecided → Low
Revision history for this message
Paul F. Dietz (paul-f-dietz) wrote :

After 6ea220e4c1622eba1eb4a784f4b8f8e1d9e5a4e7 both of these now signal floating-point-overflow, so I am resolving this ticket.

Changed in sbcl:
status: Triaged → Fix Committed
Stas Boukarev (stassats)
Changed in sbcl:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.