



Bits error versus x




Bits error versus eps
| Original | 36.5 |
|---|---|
| Comparison | 27.4 |
| Herbie | 9.1 |
if eps < -8.786347343699343e-16Initial program 30.5
rmApplied tan-sum 1.0
rmApplied div-inv 1.0
if -8.786347343699343e-16 < eps < 4.27193241580942e-33Initial program 44.6
Applied taylor 18.6
Taylor expanded around 0 18.6
Applied simplify 18.6
if 4.27193241580942e-33 < eps Initial program 29.5
rmApplied tan-sum 2.0
rmApplied div-inv 2.0
rmApplied tan-quot 2.1
Applied flip-+ 2.2
Applied frac-times 2.1
Applied frac-sub 2.2
Time bar (total: 1.2m) Debug log
Please include this information when filing a bug report:
herbie shell --seed '#(644180380 3784176976 401987740 22459203 1940947670 3323606534)'
(FPCore (x eps)
:name "2tan (problem 3.3.2)"
:herbie-expected 28
:target
(/ (sin eps) (* (cos x) (cos (+ x eps))))
(- (tan (+ x eps)) (tan x)))