



Bits error versus x




Bits error versus y




Bits error versus z
| Original | 12.6 |
|---|---|
| Target | 3.0 |
| Herbie | 0.4 |
if (/ (* x (- y z)) y) < -inf.0 or -2.7628643462198709e-73 < (/ (* x (- y z)) y) < 50872713.96341228 or 3.95070729267632818e272 < (/ (* x (- y z)) y) Initial program 23.2
rmApplied *-un-lft-identity23.2
Applied times-frac0.5
Simplified0.5
rmApplied div-sub0.5
Simplified0.5
rmApplied sub-neg0.5
Applied distribute-lft-in0.5
Simplified0.5
if -inf.0 < (/ (* x (- y z)) y) < -2.7628643462198709e-73 or 50872713.96341228 < (/ (* x (- y z)) y) < 3.95070729267632818e272Initial program 0.2
Final simplification0.4
herbie shell --seed 2020174
(FPCore (x y z)
:name "Diagrams.Backend.Cairo.Internal:setTexture from diagrams-cairo-1.3.0.3"
:precision binary64
:herbie-target
(if (< z -2.060202331921739e+104) (- x (/ (* z x) y)) (if (< z 1.6939766013828526e+213) (/ x (/ y (- y z))) (* (- y z) (/ x y))))
(/ (* x (- y z)) y))