



Bits error versus x
Results
| Original | 29.9 |
|---|---|
| Target | 0.0 |
| Herbie | 0.0 |
Initial program 29.9
Simplified0.0
Final simplification0.0
herbie shell --seed 1042149663
(FPCore (x)
:name "tanhf (example 3.4)"
:herbie-expected 2
:herbie-target
(tan (/ x 2))
(/ (- 1 (cos x)) (sin x)))
Time bar (total: 15.6s)Debug log
| 256× | (pre true 80) |
| 92× | (body real 1280) |
| 67× | (body real 640) |
| 48× | (body real 2560) |
| 27× | (body real 320) |
| 12× | (body real 160) |
| 9× | (body real 80) |
| 1× | (body real 5120) |
| 24.0ms | (/ (- 1 (cos x)) (sin x)) |
1 alts after pruning (1 fresh and 0 done)
Merged error: 0.0b
Found 0 expressions with local error:
1 alts after pruning (0 fresh and 1 done)
Merged error: 0.0b
| 8000× | (pre true 80) |
| 2720× | (body real 1280) |
| 1887× | (body real 640) |
| 1606× | (body real 2560) |
| 944× | (body real 320) |
| 478× | (body real 160) |
| 360× | (body real 80) |
| 5× | (body real 5120) |