



Bits error versus x
Results
| Original | 30.0 |
|---|---|
| Target | 0.0 |
| Herbie | 0.0 |
Initial program 30.0
Simplified0.0
Final simplification0.0
herbie shell --seed 2019016 +o rules:numerics
(FPCore (x)
:name "tanhf (example 3.4)"
:herbie-expected 2
:herbie-target
(tan (/ x 2))
(/ (- 1 (cos x)) (sin x)))
Time bar (total: 11.3s)Debug log
| 256× | (pre true 80) |
| 95× | (body real 1280) |
| 54× | (body real 640) |
| 47× | (body real 2560) |
| 31× | (body real 320) |
| 15× | (body real 160) |
| 14× | (body real 80) |
| 8.0ms | (/ (- 1 (cos x)) (sin x)) |
1 alts after pruning (1 fresh and 0 done)
Merged error: 0b
Found 0 expressions with local error:
1 alts after pruning (0 fresh and 1 done)
Merged error: 0b
| 8000× | (pre true 80) |
| 2832× | (body real 1280) |
| 1829× | (body real 640) |
| 1581× | (body real 2560) |
| 886× | (body real 320) |
| 497× | (body real 160) |
| 370× | (body real 80) |
| 5× | (body real 5120) |