



Bits error versus x




Bits error versus y




Bits error versus z




Bits error versus t
| Original | 7.4 |
|---|---|
| Target | 3.2 |
| Herbie | 2.7 |
if y < -6.8509266604995755e-22 or 7.248098652400455e-20 < y Initial program 14.7
Simplified14.7
rmApplied associate-*r*3.7
if -6.8509266604995755e-22 < y < 7.248098652400455e-20Initial program 2.0
Simplified2.0
rmApplied sub-neg2.0
Applied distribute-lft-in2.0
Applied distribute-lft-in2.0
Simplified2.0
Simplified2.0
Final simplification2.7
herbie shell --seed 2020153
(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))