iteration variable type for a single float not derived

Bug #793945 reported by Nikodemus Siivola
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SBCL
Triaged
Low
Unassigned

Bug Description

  (defun test2 ()
    (let ((f most-positive-single-float))
      (tagbody
       :next
         (unless (> f 0.0)
           (go :end))
         (foo f)
         (setq f (/ f 2.0))
         (go :next)
     :end)))

uses GENERIC->, because the compiler doesn't realize F cannot be a double-float.

description: updated
Revision history for this message
Paul F. Dietz (paul-f-dietz) wrote :

This no longer appears to be happening (1.4.11+).

Revision history for this message
Douglas Katzman (dougk) wrote :

this problem is still present but is not of medium importance

Changed in sbcl:
importance: Medium → Low
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.