


Bits error versus x



Bits error versus y



Bits error versus z
Results
if x < -2.1690543199597533e+36 or 3.2828098054217477e-87 < x Initial program 0.4
Initial simplification0.4
if -2.1690543199597533e+36 < x < 3.2828098054217477e-87Initial program 2.0
rmApplied associate-*l/0.1
Applied sub-div0.1
Final simplification0.2
herbie shell --seed 2018362
(FPCore (x y z)
:name "fabs fraction 1"
(fabs (- (/ (+ x 4) y) (* (/ x y) z))))
Time bar (total: 11.0s)Debug log
2 alts after pruning (2 fresh and 0 done)
Merged error: 0.1b
Found 3 expressions with local error:
| 3.6b | (* (/ x y) z) |
| 0.0b | (/ (+ x 4) y) |
| 0.0b | (- (/ (+ x 4) y) (* (/ x y) z)) |
3 calls. Slowest were:
| 5.0ms | (- (/ (+ x 4) y) (* (/ x y) z)) |
| 3.0ms | (* (/ x y) z) |
| 2.0ms | (/ (+ x 4) y) |
3 calls. Slowest were:
| 31.0ms | (- (/ (+ x 4) y) (* (/ x y) z)) |
| 15.0ms | (* (/ x y) z) |
| 14.0ms | (/ (+ x 4) y) |
20 calls. Slowest were:
| 112.0ms | (- (* (+ x 4) y) (* y (* x z))) |
| 87.0ms | (- (+ (/ x y) (* 4 (/ 1 y))) (/ (* x z) y)) |
| 59.0ms | (- (+ (/ x y) (* 4 (/ 1 y))) (/ (* x z) y)) |
7 alts after pruning (7 fresh and 0 done)
Merged error: 0.0b
Found 4 expressions with local error:
| 11.4b | (cbrt (* (/ x y) z)) |
| 11.4b | (cbrt (* (/ x y) z)) |
| 11.4b | (cbrt (* (/ x y) z)) |
| 3.6b | (* (/ x y) z) |
4 calls. Slowest were:
| 4.0ms | (* (/ x y) z) |
| 3.0ms | (cbrt (* (/ x y) z)) |
| 2.0ms | (cbrt (* (/ x y) z)) |
4 calls. Slowest were:
| 115.0ms | (cbrt (* (/ x y) z)) |
| 108.0ms | (cbrt (* (/ x y) z)) |
| 106.0ms | (cbrt (* (/ x y) z)) |
| 23.0ms | (* (/ x y) z) |
21 calls. Slowest were:
| 360.0ms | (exp (* 1/3 (- (log (/ 1 y)) (+ (log (/ 1 z)) (log (/ 1 x)))))) |
| 356.0ms | (exp (* 1/3 (- (log (/ 1 y)) (+ (log (/ 1 z)) (log (/ 1 x)))))) |
| 312.0ms | (exp (* 1/3 (- (log (/ 1 y)) (+ (log (/ 1 z)) (log (/ 1 x)))))) |
8 alts after pruning (7 fresh and 1 done)
Merged error: 0.0b
Found 4 expressions with local error:
| 11.4b | (cbrt (* (/ x y) z)) |
| 11.4b | (cbrt (* (/ x y) z)) |
| 10.4b | (cbrt (/ x y)) |
| 3.6b | (* (/ x y) z) |
4 calls. Slowest were:
| 4.0ms | (* (/ x y) z) |
| 2.0ms | (cbrt (* (/ x y) z)) |
| 2.0ms | (cbrt (* (/ x y) z)) |
4 calls. Slowest were:
| 127.0ms | (cbrt (* (/ x y) z)) |
| 122.0ms | (cbrt (* (/ x y) z)) |
| 74.0ms | (cbrt (/ x y)) |
| 14.0ms | (* (/ x y) z) |
24 calls. Slowest were:
| 294.0ms | (exp (* 1/3 (- (log (/ 1 y)) (+ (log (/ 1 z)) (log (/ 1 x)))))) |
| 275.0ms | (exp (* 1/3 (- (log (/ 1 y)) (+ (log (/ 1 z)) (log (/ 1 x)))))) |
| 202.0ms | (exp (* 1/3 (- (log (/ 1 y)) (log (/ 1 x))))) |
7 alts after pruning (5 fresh and 2 done)
Merged error: 0.0b
Found 4 expressions with local error:
| 11.4b | (cbrt (* (/ x y) z)) |
| 10.4b | (cbrt (/ x y)) |
| 10.4b | (cbrt (/ x y)) |
| 3.6b | (* (/ x y) z) |
4 calls. Slowest were:
| 4.0ms | (* (/ x y) z) |
| 2.0ms | (cbrt (* (/ x y) z)) |
| 1.0ms | (cbrt (/ x y)) |
4 calls. Slowest were:
| 105.0ms | (cbrt (* (/ x y) z)) |
| 97.0ms | (cbrt (/ x y)) |
| 82.0ms | (cbrt (/ x y)) |
| 24.0ms | (* (/ x y) z) |
27 calls. Slowest were:
| 343.0ms | (exp (* 1/3 (- (log (/ 1 y)) (+ (log (/ 1 z)) (log (/ 1 x)))))) |
| 216.0ms | (exp (* 1/3 (- (log (/ 1 y)) (log (/ 1 x))))) |
| 171.0ms | (exp (* 1/3 (- (log (/ 1 y)) (log (/ 1 x))))) |
7 alts after pruning (4 fresh and 3 done)
Merged error: 0.0b
87.5% (0.2b remaining)
Error of 0.2b against oracle of 0.0b and baseline of 1.6b