


Bits error versus x



Bits error versus y



Bits error versus z
Results
if x < -1.5293515526480282e+26Initial program 0.1
rmApplied div-inv0.1
Applied associate-*l*0.1
if -1.5293515526480282e+26 < x < 45940670698724.875Initial program 2.3
Taylor expanded around 0 0.1
if 45940670698724.875 < x Initial program 0.1
Taylor expanded around 0 8.3
Simplified0.1
Final simplification0.1
herbie shell --seed 2019002
(FPCore (x y z)
:name "fabs fraction 1"
(fabs (- (/ (+ x 4) y) (* (/ x y) z))))
Time bar (total: 9.4s)Debug log
1 calls. Slowest were:
| 47.0ms | (fabs (- (/ (+ x 4) y) (* (/ x y) z))) |
1 alts after pruning (1 fresh and 0 done)
Merged error: 1.5b
Found 3 expressions with local error:
| 3.2b | (* (/ x y) z) |
| 0.0b | (/ (+ x 4) y) |
| 0.0b | (- (/ (+ x 4) y) (* (/ x y) z)) |
3 calls. Slowest were:
| 11.0ms | (- (/ (+ x 4) y) (* (/ x y) z)) |
| 5.0ms | (* (/ x y) z) |
| 5.0ms | (/ (+ x 4) y) |
3 calls. Slowest were:
| 32.0ms | (- (/ (+ x 4) y) (* (/ x y) z)) |
| 16.0ms | (* (/ x y) z) |
| 14.0ms | (/ (+ x 4) y) |
20 calls. Slowest were:
| 103.0ms | (- (* (+ x 4) y) (* y (* x z))) |
| 87.0ms | (- (+ (/ x y) (* 4 (/ 1 y))) (/ (* x z) y)) |
| 55.0ms | (- (+ (/ x y) (* 4 (/ 1 y))) (/ (* x z) y)) |
5 alts after pruning (5 fresh and 0 done)
Merged error: 0.0b
Found 3 expressions with local error:
| 3.2b | (* (/ x y) z) |
| 0.0b | (+ (/ x y) (/ 4 y)) |
| 0.0b | (- (+ (/ x y) (/ 4 y)) (* (/ x y) z)) |
3 calls. Slowest were:
| 27.0ms | (- (+ (/ x y) (/ 4 y)) (* (/ x y) z)) |
| 3.0ms | (+ (/ x y) (/ 4 y)) |
| 2.0ms | (* (/ x y) z) |
3 calls. Slowest were:
| 44.0ms | (- (+ (/ x y) (/ 4 y)) (* (/ x y) z)) |
| 29.0ms | (+ (/ x y) (/ 4 y)) |
| 24.0ms | (* (/ x y) z) |
27 calls. Slowest were:
| 310.0ms | (- (* (+ (pow (/ x y) 3) (pow (/ 4 y) 3)) y) (* (+ (* (/ x y) (/ x y)) (- (* (/ 4 y) (/ 4 y)) (* (/ x y) (/ 4 y)))) (* x z))) |
| 290.0ms | (* (+ (* (/ x y) (/ x y)) (- (* (/ 4 y) (/ 4 y)) (* (/ x y) (/ 4 y)))) y) |
| 256.0ms | (- (* (- (* (/ x y) (/ x y)) (* (/ 4 y) (/ 4 y))) y) (* (- (/ x y) (/ 4 y)) (* x z))) |
5 alts after pruning (4 fresh and 1 done)
Merged error: 0b
Found 3 expressions with local error:
| 7.0b | (/ x (/ y z)) |
| 0.0b | (+ (/ x y) (/ 4 y)) |
| 0.0b | (- (+ (/ x y) (/ 4 y)) (/ x (/ y z))) |
3 calls. Slowest were:
| 20.0ms | (- (+ (/ x y) (/ 4 y)) (/ x (/ y z))) |
| 7.0ms | (+ (/ x y) (/ 4 y)) |
| 1.0ms | (/ x (/ y z)) |
3 calls. Slowest were:
| 38.0ms | (- (+ (/ x y) (/ 4 y)) (/ x (/ y z))) |
| 26.0ms | (+ (/ x y) (/ 4 y)) |
| 20.0ms | (/ x (/ y z)) |
32 calls. Slowest were:
| 336.0ms | (- (* (+ (* x y) (* y 4)) (/ y z)) (* (* y y) x)) |
| 283.0ms | (- (* (+ (pow (/ x y) 3) (pow (/ 4 y) 3)) (/ y z)) (* (+ (* (/ x y) (/ x y)) (- (* (/ 4 y) (/ 4 y)) (* (/ x y) (/ 4 y)))) x)) |
| 180.0ms | (- (* (- (* (/ x y) (/ x y)) (* (/ 4 y) (/ 4 y))) (/ y z)) (* (- (/ x y) (/ 4 y)) x)) |
5 alts after pruning (3 fresh and 2 done)
Merged error: 0b
Found 3 expressions with local error:
| 6.9b | (/ (* x z) y) |
| 0.0b | (/ (+ x 4) y) |
| 0.0b | (- (/ (+ x 4) y) (/ (* x z) y)) |
3 calls. Slowest were:
| 5.0ms | (- (/ (+ x 4) y) (/ (* x z) y)) |
| 2.0ms | (/ (+ x 4) y) |
| 2.0ms | (/ (* x z) y) |
3 calls. Slowest were:
| 33.0ms | (- (/ (+ x 4) y) (/ (* x z) y)) |
| 24.0ms | (/ (+ x 4) y) |
| 21.0ms | (/ (* x z) y) |
22 calls. Slowest were:
| 102.0ms | (- (* (+ x 4) y) (* y (* x z))) |
| 82.0ms | (- (+ (/ x y) (* 4 (/ 1 y))) (/ (* x z) y)) |
| 72.0ms | (- (+ (/ x y) (* 4 (/ 1 y))) (/ (* x z) y)) |
5 alts after pruning (2 fresh and 3 done)
Merged error: 0b
93.4% (0.1b remaining)
Error of 0.1b against oracle of 0.0b and baseline of 1.5b