



Bits error versus x




Bits error versus y
| Original | 31.5 |
|---|---|
| Target | 17.3 |
| Herbie | 17.2 |
if x < -3.4475662606183263e130Initial program 56.9
Taylor expanded around -inf 7.7
Simplified7.7
if -3.4475662606183263e130 < x < 1.8766509938470789e142Initial program 20.8
if 1.8766509938470789e142 < x Initial program 60.5
Taylor expanded around inf 8.5
Final simplification17.2
herbie shell --seed 2020192
(FPCore (x y)
:name "Data.Octree.Internal:octantDistance from Octree-0.5.4.2"
:precision binary64
:herbie-target
(if (< x -1.1236950826599826e+145) (neg x) (if (< x 1.116557621183362e+93) (sqrt (+ (* x x) (* y y))) x))
(sqrt (+ (* x x) (* y y))))