



Bits error versus x




Bits error versus y
| Original | 31.8 |
|---|---|
| Target | 17.8 |
| Herbie | 18.3 |
if x < -1.69098607420795857e60Initial program 44.5
Taylor expanded around -inf 12.0
Simplified12.0
if -1.69098607420795857e60 < x < 4.2484476987621222e82Initial program 22.6
if 4.2484476987621222e82 < x Initial program 48.9
Taylor expanded around inf 11.0
Final simplification18.3
herbie shell --seed 2020180
(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))))