



Bits error versus x




Bits error versus eps
| Original | 36.7 |
|---|---|
| Target | 15.2 |
| Herbie | 12.7 |
Initial program 36.7
rmApplied tan-sum21.3
rmApplied frac-2neg21.3
Applied simplify21.3
Taylor expanded around -inf 12.7
Time bar (total: 1.9m)Debug logProfile
herbie shell --seed '#(1072330854 3074818769 591214268 3603999196 3863745332 3332387116)' +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)))