



Bits error versus x
| Original | 29.8 |
|---|---|
| Target | 0.0 |
| Herbie | 0.5 |
Initial program 29.8
rmApplied flip--30.1
Applied simplify14.3
rmApplied *-un-lft-identity14.3
Applied *-un-lft-identity14.3
Applied times-frac14.3
Applied simplify14.3
Applied simplify0.5
pow expressions.Applied simplify0.5
Time bar (total: 21.1s)Debug log
herbie shell --seed '#(633950927 2092594946 1442981 2827247922 2812758452 390991499)'
(FPCore (x)
:name "tanhf (example 3.4)"
:herbie-expected 1
:herbie-target
(tan (/ x 2))
(/ (- 1 (cos x)) (sin x)))