



Bits error versus x
| Original | 0.0 |
|---|---|
| Target | 0.0 |
| Herbie | 0.0 |
Initial program 0.0
Initial simplification0.0
Final simplification0.0
herbie shell --seed 2018362 +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: 9.0s)Debug log
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:
| 49.0ms | (fma (* x x) x (* x x)) |
3 calls. Slowest were:
| 13.0ms | (+ (pow x 3) (pow x 2)) |
| 13.0ms | (+ (pow x 3) (pow x 2)) |
| 12.0ms | (+ (pow x 3) (pow x 2)) |
2 alts after pruning (1 fresh and 1 done)
Merged error: 0.0b
Found 4 expressions with local error:
| 31.0b | (sqrt (fma (* x x) x (* x x))) |
| 31.0b | (sqrt (fma (* x x) x (* x x))) |
| 0.0b | (fma (* x x) x (* x x)) |
| 0.0b | (fma (* x x) x (* x x)) |
4 calls. Slowest were:
| 2.0ms | (sqrt (fma (* x x) x (* x x))) |
| 1.0ms | (sqrt (fma (* x x) x (* x x))) |
| 0.0ms | (fma (* x x) x (* x x)) |
4 calls. Slowest were:
| 57.0ms | (fma (* x x) x (* x x)) |
| 55.0ms | (fma (* x x) x (* x x)) |
| 21.0ms | (sqrt (fma (* x x) x (* x x))) |
| 18.0ms | (sqrt (fma (* x x) x (* x x))) |
20 calls. Slowest were:
| 455.0ms | (- (+ x (* 1/2 (pow x 2))) (* 1/8 (pow x 3))) |
| 329.0ms | (- (+ x (* 1/2 (pow x 2))) (* 1/8 (pow x 3))) |
| 42.0ms | (sqrt (* (cbrt (fma (* x x) x (* x x))) (cbrt (fma (* x x) x (* x x))))) |
2 alts after pruning (1 fresh and 1 done)
Merged error: 0.0b
Found 4 expressions with local error:
| 31.0b | (sqrt (* (fma x x x) x)) |
| 31.0b | (sqrt (fma (* x x) x (* x x))) |
| 31.0b | (sqrt (fma (* x x) x (* x x))) |
| 0.5b | (* (sqrt (sqrt (* (fma x x x) x))) (sqrt (sqrt (fma (* x x) x (* x x))))) |
4 calls. Slowest were:
| 7.0ms | (* (sqrt (sqrt (* (fma x x x) x))) (sqrt (sqrt (fma (* x x) x (* x x))))) |
| 1.0ms | (sqrt (* (fma x x x) x)) |
| 1.0ms | (sqrt (fma (* x x) x (* x x))) |
4 calls. Slowest were:
| 110.0ms | (* (sqrt (sqrt (* (fma x x x) x))) (sqrt (sqrt (fma (* x x) x (* x x))))) |
| 35.0ms | (sqrt (fma (* x x) x (* x x))) |
| 32.0ms | (sqrt (fma (* x x) x (* x x))) |
| 30.0ms | (sqrt (* (fma x x x) x)) |
41 calls. Slowest were:
| 450.0ms | (- (+ x (* 1/2 (pow x 2))) (* 1/8 (pow x 3))) |
| 424.0ms | (- (+ x (* 1/2 (pow x 2))) (* 1/8 (pow x 3))) |
| 337.0ms | (- (+ x (* 1/2 (pow x 2))) (* 1/8 (pow x 3))) |
3 alts after pruning (2 fresh and 1 done)
Merged error: 0b
Found 4 expressions with local error:
| 32.1b | (cbrt (fma (* x x) x (* x x))) |
| 32.1b | (cbrt (fma (* x x) x (* x x))) |
| 32.1b | (cbrt (* x (fma x x x))) |
| 31.0b | (sqrt (* (fma x x x) x)) |
4 calls. Slowest were:
| 3.0ms | (sqrt (* (fma x x x) x)) |
| 2.0ms | (cbrt (* x (fma x x x))) |
| 1.0ms | (cbrt (fma (* x x) x (* x x))) |
4 calls. Slowest were:
| 69.0ms | (cbrt (* x (fma x x x))) |
| 51.0ms | (cbrt (fma (* x x) x (* x x))) |
| 50.0ms | (cbrt (fma (* x x) x (* x x))) |
| 35.0ms | (sqrt (* (fma x x x) x)) |
20 calls. Slowest were:
| 396.0ms | (- (+ (* 1/3 (/ (exp (* 1/3 (- (log -1) (* 3 (log (/ -1 x)))))) x)) (exp (* 1/3 (- (log -1) (* 3 (log (/ -1 x))))))) (* 1/9 (/ (exp (* 1/3 (- (log -1) (* 3 (log (/ -1 x)))))) (pow x 2)))) |
| 346.0ms | (- (+ x (* 1/2 (pow x 2))) (* 1/8 (pow x 3))) |
| 320.0ms | (- (+ (* 1/3 (/ (exp (* 1/3 (- (log -1) (* 3 (log (/ -1 x)))))) x)) (exp (* 1/3 (- (log -1) (* 3 (log (/ -1 x))))))) (* 1/9 (/ (exp (* 1/3 (- (log -1) (* 3 (log (/ -1 x)))))) (pow x 2)))) |
3 alts after pruning (1 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