



Bits error versus x




Bits error versus y




Bits error versus z




Bits error versus t
| Original | 6.8 |
|---|---|
| Target | 2.2 |
| Herbie | 1.8 |
Initial program 6.8
Applied simplify5.9
rmApplied div-inv5.9
Applied associate-*l*5.6
Applied simplify5.6
rmApplied add-cube-cbrt6.2
Applied add-cube-cbrt6.4
Applied times-frac6.4
Applied associate-*r*1.8
pow expressions.Time bar (total: 38.6s)Debug log
herbie shell --seed '#(1567391828 2030694642 2833800258 828025724 3004380912 3532991858)' +o setup:early-exit
(FPCore (x y z t)
:name "Linear.Projection:infinitePerspective from linear-1.19.1.3, A"
:herbie-target
(if (< (/ (* x 2.0) (- (* y z) (* t z))) -2.559141628295061e-13) (* (/ x (* (- y t) z)) 2.0) (if (< (/ (* x 2.0) (- (* y z) (* t z))) 1.045027827330126e-269) (/ (* (/ x z) 2.0) (- y t)) (* (/ x (* (- y t) z)) 2.0)))
(/ (* x 2.0) (- (* y z) (* t z))))