



Bits error versus d1




Bits error versus d2
Results
| Original | 0.2 |
|---|---|
| Target | 0.0 |
| Herbie | 0.0 |
Initial program 0.2
Simplified0.0
Final simplification0.0
herbie shell --seed 2019002 +o rules:numerics
(FPCore (d1 d2)
:name "FastMath test2"
:herbie-target
(* d1 (+ 30 d2))
(+ (+ (* d1 10) (* d1 d2)) (* d1 20)))
Time bar (total: 11.2s)Debug log
1 calls. Slowest were:
| 66.0ms | (+ (+ (* d1 10) (* d1 d2)) (* d1 20)) |
2 alts after pruning (2 fresh and 0 done)
Merged error: 0.0b
Found 1 expressions with local error:
| 0.0b | (* (+ d2 30) d1) |
1 calls. Slowest were:
| 5.0ms | (* (+ d2 30) d1) |
1 calls. Slowest were:
| 25.0ms | (* (+ d2 30) d1) |
7 calls. Slowest were:
| 218.0ms | (* (- (* d2 d2) (* 30 30)) d1) |
| 38.0ms | (* (+ (pow d2 3) (pow 30 3)) d1) |
| 11.0ms | (+ (* d2 d1) (* 30 d1)) |
3 alts after pruning (2 fresh and 1 done)
Merged error: 0b
Found 4 expressions with local error:
| 0.5b | (* (* (cbrt (+ d2 30)) (cbrt (+ d2 30))) (* (cbrt (+ d2 30)) d1)) |
| 0.3b | (* (cbrt (+ d2 30)) d1) |
| 0.2b | (* (cbrt (+ d2 30)) (cbrt (+ d2 30))) |
| 0.2b | (cbrt (+ d2 30)) |
4 calls. Slowest were:
| 35.0ms | (* (* (cbrt (+ d2 30)) (cbrt (+ d2 30))) (* (cbrt (+ d2 30)) d1)) |
| 5.0ms | (* (cbrt (+ d2 30)) (cbrt (+ d2 30))) |
| 3.0ms | (* (cbrt (+ d2 30)) d1) |
4 calls. Slowest were:
| 135.0ms | (* (cbrt (+ d2 30)) d1) |
| 56.0ms | (* (cbrt (+ d2 30)) (cbrt (+ d2 30))) |
| 54.0ms | (cbrt (+ d2 30)) |
| 15.0ms | (* (* (cbrt (+ d2 30)) (cbrt (+ d2 30))) (* (cbrt (+ d2 30)) d1)) |
105 calls. Slowest were:
| 577.0ms | (- (+ (* 1/45 (* d2 (pow 900 1/3))) (pow 900 1/3)) (* 1/8100 (* (pow d2 2) (pow 900 1/3)))) |
| 494.0ms | (* (* (* (* (cbrt (+ d2 30)) (cbrt (+ d2 30))) (* (cbrt (+ d2 30)) (cbrt (+ d2 30)))) (* (cbrt (+ d2 30)) (cbrt (+ d2 30)))) (* (* (* (cbrt (+ d2 30)) d1) (* (cbrt (+ d2 30)) d1)) (* (cbrt (+ d2 30)) d1))) |
| 431.0ms | (* (* (+ d2 30) (+ d2 30)) (* (* (* (cbrt (+ d2 30)) d1) (* (cbrt (+ d2 30)) d1)) (* (cbrt (+ d2 30)) d1))) |
3 alts after pruning (1 fresh and 2 done)
Merged error: 0b
Found 2 expressions with local error:
| 7.2b | (/ (* (fma d2 d2 -900) d1) (+ d2 -30)) |
| 6.6b | (* (fma d2 d2 -900) d1) |
2 calls. Slowest were:
| 11.0ms | (/ (* (fma d2 d2 -900) d1) (+ d2 -30)) |
| 5.0ms | (* (fma d2 d2 -900) d1) |
2 calls. Slowest were:
| 46.0ms | (/ (* (fma d2 d2 -900) d1) (+ d2 -30)) |
| 35.0ms | (* (fma d2 d2 -900) d1) |
22 calls. Slowest were:
| 142.0ms | (/ (* (* (* (fma d2 d2 -900) d1) (* (fma d2 d2 -900) d1)) (* (fma d2 d2 -900) d1)) (* (* (+ d2 -30) (+ d2 -30)) (+ d2 -30))) |
| 58.0ms | (+ (* d2 d2) (- (* -30 -30) (* d2 -30))) |
| 38.0ms | (- (log (* (fma d2 d2 -900) d1)) (log (+ d2 -30))) |
3 alts after pruning (0 fresh and 3 done)
Merged error: 0b
0% (0.0b remaining)
Error of 0.0b against oracle of 0.0b and baseline of 0.0b