



Bits error versus x




Bits error versus eps
| Original | 37.2 |
|---|---|
| Target | 15.5 |
| Herbie | 14.1 |
if (+ eps (+ (* (pow eps 3) (pow x 2)) (* (pow eps 2) x))) < -4.675949336059514e-05 or 1.4032626809440345e-79 < (+ eps (+ (* (pow eps 3) (pow x 2)) (* (pow eps 2) x))) Initial program 36.0
rmApplied tan-sum13.4
rmApplied add-cbrt-cube13.4
Applied add-cbrt-cube13.5
Applied cbrt-unprod13.4
Applied simplify13.4
if -4.675949336059514e-05 < (+ eps (+ (* (pow eps 3) (pow x 2)) (* (pow eps 2) x))) < 1.4032626809440345e-79Initial program 39.9
Taylor expanded around 0 15.6
Time bar (total: 47.5s)Debug logProfile
herbie shell --seed '#(1070355188 2193211668 3977393919 3454156579 3755371326 1656365382)'
(FPCore (x eps)
:name "2tan (problem 3.3.2)"
:herbie-target
(/ (sin eps) (* (cos x) (cos (+ x eps))))
(- (tan (+ x eps)) (tan x)))