



Bits error versus x




Bits error versus y




Bits error versus z




Bits error versus t




Bits error versus a
| Original | 6.4 |
|---|---|
| Target | 0.7 |
| Herbie | 0.4 |
if (* y (- z t)) < -2.96367916998019457e273Initial program 48.9
rmApplied *-un-lft-identity48.9
Applied times-frac0.2
Simplified0.2
if -2.96367916998019457e273 < (* y (- z t)) < 7.0733190662448602e232Initial program 0.4
rmApplied sub-neg0.4
Applied distribute-lft-in0.4
if 7.0733190662448602e232 < (* y (- z t)) Initial program 37.3
rmApplied associate-/l*0.4
Final simplification0.4
herbie shell --seed 2020168
(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)))