



Bits error versus x




Bits error versus eps
| Original | 37.3 |
|---|---|
| Target | 15.1 |
| Herbie | 14.4 |
if eps < -2.435762579177024e-49 or 1.4084902029441485e-34 < eps Initial program 30.3
rmApplied tan-sum3.1
rmApplied div-inv3.1
Applied fma-neg3.1
rmApplied tan-quot3.1
Applied tan-quot3.1
Applied frac-times3.1
if -2.435762579177024e-49 < eps < 1.4084902029441485e-34Initial program 46.2
Taylor expanded around 0 29.9
Applied simplify28.7
Time bar (total: 1.2m)Debug logProfile
herbie shell --seed '#(1070386091 2509006183 1430610344 1025408621 36622005 1425925650)' +o rules:numerics
(FPCore (x eps)
:name "2tan (problem 3.3.2)"
:herbie-target
(/ (sin eps) (* (cos x) (cos (+ x eps))))
(- (tan (+ x eps)) (tan x)))