



Bits error versus x




Bits error versus eps
| Original | 37.1 |
|---|---|
| Target | 15.6 |
| Herbie | 13.7 |
if (fma (* x eps) (fma (* x eps) eps eps) eps) < -3.1068469719484584e-28 or 5.858083040047354e-17 < (fma (* x eps) (fma (* x eps) eps eps) eps) Initial program 34.3
rmApplied tan-sum8.6
rmApplied add-log-exp8.7
rmApplied tan-quot8.7
Applied frac-sub8.8
Applied simplify8.7
Applied simplify8.6
if -3.1068469719484584e-28 < (fma (* x eps) (fma (* x eps) eps eps) eps) < 5.858083040047354e-17Initial program 41.4
Taylor expanded around 0 23.0
Applied simplify21.9
Time bar (total: 1.5m)Debug logProfile
herbie shell --seed '#(1070833653 108281690 3330367898 3632331308 3494323072 43156186)' +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)))