Difference in rounding behavior of EXPT depending on circumstances

Bug #1899969 reported by Paul F. Dietz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SBCL
New
Undecided
Unassigned

Bug Description

(expt -6.0 1/2) ==> #C(1.4998799e-16 2.4494898)

(funcall (compile nil (lambda (x) (expt (the single-float x) 1/2))) -6.0)
  ==> #C(0.0 2.4494898)

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.