



Bits error versus x
| Original | 30.3 |
|---|---|
| Target | 0.0 |
| Herbie | 0.9 |
Initial program 30.3
rmApplied flip--30.5
Applied simplify14.8
rmApplied log1p-expm1-u15.2
Applied simplify0.9
Time bar (total: 1.1m)Debug logProfile
herbie shell --seed '#(1064173506 2580572819 2847706409 4129882574 1125180799 1845288547)' +o rules:numerics
(FPCore (x)
:name "tanhf (example 3.4)"
:herbie-expected 2
:herbie-target
(tan (/ x 2))
(/ (- 1 (cos x)) (sin x)))