



Bits error versus x
| Original | 60.0 |
|---|---|
| Comparison | 0.1 |
| Herbie | 0.3 |
Initial program 60.0
Applied taylor 0.3
Taylor expanded around 0 0.3
rmApplied associate-+r+ 0.3
Time bar (total: 5.9s) Debug logProfile
Please include this information when filing a bug report:
herbie shell --seed '#(1067901057 3396600083 3715501224 3126139233 3908045574 1593683916)'
(FPCore (x)
:name "invcot (example 3.9)"
:pre (and (< -0.026 x) (< x 0.026))
:target
(if (< (fabs x) 0.026) (* (/ x 3) (+ 1 (/ (sqr x) 15))) (- (/ 1 x) (/ 1 (tan x))))
(- (/ 1 x) (/ 1 (tan x))))