



Bits error versus x




Bits error versus y




Bits error versus z




Bits error versus t
| Original | 7.1 |
|---|---|
| Target | 3.0 |
| Herbie | 0.5 |
if (- (* x y) (* z y)) < -6.9057663882231999e281Initial program 50.8
rmApplied distribute-rgt-out--50.8
Applied associate-*l*0.3
if -6.9057663882231999e281 < (- (* x y) (* z y)) < -1.0767303544454203e-139 or 6.71850630441090114e-140 < (- (* x y) (* z y)) < 1.47858745386993944e290Initial program 0.3
if -1.0767303544454203e-139 < (- (* x y) (* z y)) < 6.71850630441090114e-140 or 1.47858745386993944e290 < (- (* x y) (* z y)) Initial program 16.4
Simplified16.4
rmApplied associate-*r*1.3
rmApplied sub-neg1.3
Applied distribute-lft-in1.3
Final simplification0.5
herbie shell --seed 2020177
(FPCore (x y z t)
:name "Linear.Projection:inverseInfinitePerspective from linear-1.19.1.3"
:precision binary64
:herbie-target
(if (< t -9.231879582886777e-80) (* (* y t) (- x z)) (if (< t 2.543067051564877e+83) (* y (* t (- x z))) (* (* y (- x z)) t)))
(* (- (* x y) (* z y)) t))