



Bits error versus x
| Original | 0.0 |
|---|---|
| Target | 0.0 |
| Herbie | 0.0 |
Initial program 0.0
Simplified0.0
rmApplied add-sqr-sqrt0.0
rmApplied pow1/20.0
Applied pow1/20.0
Applied pow-prod-up0.0
Simplified0.0
Simplified0.0
Final simplification0.0
herbie shell --seed 2019007 +o rules:numerics
(FPCore (x)
:name "Expression 3, p15"
:pre (<= 0 x 2)
:herbie-target
(* (* (+ 1.0 x) x) x)
(+ (* x (* x x)) (* x x)))
Time bar (total: 3.4s)Debug log
1 calls. Slowest were:
| 113.0ms | (+ (* x (* x x)) (* x x)) |
1 alts after pruning (1 fresh and 0 done)
Merged error: 0.0b
Found 1 expressions with local error:
| 0.0b | (fma (* x x) x (* x x)) |
1 calls. Slowest were:
| 0.0ms | (fma (* x x) x (* x x)) |
1 calls. Slowest were:
| 58.0ms | (fma (* x x) x (* x x)) |
3 calls. Slowest were:
| 7.0ms | (+ (pow x 3) (pow x 2)) |
| 7.0ms | (+ (pow x 3) (pow x 2)) |
| 6.0ms | (+ (pow x 3) (pow x 2)) |
3 alts after pruning (2 fresh and 1 done)
Merged error: 0.0b
Found 4 expressions with local error:
| 29.5b | (sqrt (fma (* x x) x (* x x))) |
| 29.5b | (sqrt (fma (* x x) x (* x x))) |
| 0.0b | (* (sqrt (fma (* x x) x (* x x))) (sqrt (fma (* x x) x (* x x)))) |
| 0.0b | (fma (* x x) x (* x x)) |
4 calls. Slowest were:
| 5.0ms | (* (sqrt (fma (* x x) x (* x x))) (sqrt (fma (* x x) x (* x x)))) |
| 1.0ms | (sqrt (fma (* x x) x (* x x))) |
| 1.0ms | (sqrt (fma (* x x) x (* x x))) |
4 calls. Slowest were:
| 53.0ms | (fma (* x x) x (* x x)) |
| 37.0ms | (* (sqrt (fma (* x x) x (* x x))) (sqrt (fma (* x x) x (* x x)))) |
| 20.0ms | (sqrt (fma (* x x) x (* x x))) |
| 17.0ms | (sqrt (fma (* x x) x (* x x))) |
42 calls. Slowest were:
| 326.0ms | (- (+ x (* 1/2 (pow x 2))) (* 1/8 (pow x 3))) |
| 278.0ms | (- (+ x (* 1/2 (pow x 2))) (* 1/8 (pow x 3))) |
| 186.0ms | (* (fma (* x x) x (* x x)) (fma (* x x) x (* x x))) |
2 alts after pruning (1 fresh and 1 done)
Merged error: 0.0b
Found 1 expressions with local error:
| 0.0b | (* (fma x x x) x) |
1 calls. Slowest were:
| 3.0ms | (* (fma x x x) x) |
1 calls. Slowest were:
| 37.0ms | (* (fma x x x) x) |
5 calls. Slowest were:
| 11.0ms | (+ (pow x 3) (pow x 2)) |
| 11.0ms | (+ (pow x 3) (pow x 2)) |
| 11.0ms | (+ (pow x 3) (pow x 2)) |
2 alts after pruning (0 fresh and 2 done)
Merged error: 0.0b
0% (0.0b remaining)
Error of 0.0b against oracle of 0.0b and baseline of 0.0b