



Bits error versus x




Bits error versus y




Bits error versus z




Bits error versus t




Bits error versus a
| Original | 6.1 |
|---|---|
| Target | 0.7 |
| Herbie | 0.9 |
if (* y (- z t)) < -inf.0 or 9.30667042280824635e106 < (* y (- z t)) Initial program 25.9
rmApplied associate-/l*2.5
if -inf.0 < (* y (- z t)) < 9.30667042280824635e106Initial program 0.4
rmApplied sub-neg0.4
Applied distribute-lft-in0.4
Final simplification0.9
herbie shell --seed 2020162
(FPCore (x y z t a)
:name "Optimisation.CirclePacking:place from circle-packing-0.1.0.4, E"
:precision binary64
:herbie-target
(if (< y -1.0761266216389975e-10) (+ x (/ 1.0 (/ (/ a (- z t)) y))) (if (< y 2.894426862792089e-49) (+ x (/ (* y (- z t)) a)) (+ x (/ y (/ a (- z t))))))
(+ x (/ (* y (- z t)) a)))