



Bits error versus x
Results
| Original | 58.7 |
|---|---|
| Target | 0.5 |
| Herbie | 0.0 |
Initial program 58.7
Simplified0.0
Final simplification0.0
herbie shell --seed 2019005 +o rules:numerics
(FPCore (x)
:name "expm1 (example 3.7)"
:pre (< -0.00017 x)
:herbie-target
(* x (+ (+ 1 (/ x 2)) (/ (* x x) 6)))
(- (exp x) 1))
Time bar (total: 3.3s)Debug log
1 calls. Slowest were:
| 5.0ms | (- (exp x) 1) |
2 alts after pruning (2 fresh and 0 done)
Merged error: 0b
Found 1 expressions with local error:
| 0.0b | (expm1 x) |
1 calls. Slowest were:
| 0.0ms | (expm1 x) |
1 calls. Slowest were:
| 19.0ms | (expm1 x) |
3 calls. Slowest were:
| 217.0ms | (+ x (+ (* 1/6 (pow x 3)) (* 1/2 (pow x 2)))) |
| 3.0ms | (- (exp x) 1) |
| 2.0ms | (- (exp x) 1) |
2 alts after pruning (1 fresh and 1 done)
Merged error: 0b
Found 1 expressions with local error:
| 5.2b | (- (exp x) 1) |
1 calls. Slowest were:
| 5.0ms | (- (exp x) 1) |
1 calls. Slowest were:
| 11.0ms | (- (exp x) 1) |
6 calls. Slowest were:
| 188.0ms | (+ x (+ (* 1/6 (pow x 3)) (* 1/2 (pow x 2)))) |
| 5.0ms | (- (exp x) 1) |
| 4.0ms | (- (exp x) 1) |
2 alts after pruning (0 fresh and 2 done)
Merged error: 0b
0% (0.0b remaining)
Error of 0.0b against oracle of 0.0b and baseline of 0.0b