Difference in rounding behavior of EXPT depending on circumstances

Bug #1899969 reported by Paul F. Dietz on 2020-10-15
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SBCL
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  Edit
Everyone can see this information.

Other bug subscribers