


Bits error versus a



Bits error versus b_2



Bits error versus c
if b_2 < -1.7715196556134555e+46Initial program 56.2
Taylor expanded around -inf 4.3
if -1.7715196556134555e+46 < b_2 < -1.1090157738250754e-76Initial program 42.3
rmApplied clear-num42.3
rmApplied associate-/r/42.3
rmApplied flip--42.4
Applied frac-times45.1
Simplified18.0
if -1.1090157738250754e-76 < b_2 < 5.973421650485517e+105Initial program 12.9
rmApplied clear-num13.0
if 5.973421650485517e+105 < b_2 Initial program 46.4
Taylor expanded around inf 3.7
Simplified3.7
Final simplification9.7
herbie shell --seed 2019002 +o rules:numerics
(FPCore (a b_2 c)
:name "quad2m (problem 3.2.1, negative)"
(/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a))
Time bar (total: 37.3s)Debug log
1 calls. Slowest were:
| 27.0ms | (/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a) |
1 alts after pruning (1 fresh and 0 done)
Merged error: 32.3b
Found 4 expressions with local error:
| 22.2b | (sqrt (- (* b_2 b_2) (* a c))) |
| 1.7b | (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) |
| 0.6b | (- (* b_2 b_2) (* a c)) |
| 0.1b | (/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a) |
4 calls. Slowest were:
| 34.0ms | (/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a) |
| 14.0ms | (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) |
| 8.0ms | (sqrt (- (* b_2 b_2) (* a c))) |
4 calls. Slowest were:
| 86.0ms | (sqrt (- (* b_2 b_2) (* a c))) |
| 85.0ms | (/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a) |
| 65.0ms | (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) |
| 36.0ms | (- (* b_2 b_2) (* a c)) |
84 calls. Slowest were:
| 535.0ms | (sqrt (- (* (* b_2 b_2) (* b_2 b_2)) (* (* a c) (* a c)))) |
| 280.0ms | (sqrt (- (pow (* b_2 b_2) 3) (pow (* a c) 3))) |
| 273.0ms | (- (* (- b_2) (- b_2)) (* (sqrt (- (* b_2 b_2) (* a c))) (sqrt (- (* b_2 b_2) (* a c))))) |
6 alts after pruning (6 fresh and 0 done)
Merged error: 5.0b
Found 4 expressions with local error:
| 22.2b | (sqrt (- (* b_2 b_2) (* a c))) |
| 1.7b | (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) |
| 0.6b | (- (* b_2 b_2) (* a c)) |
| 0.2b | (/ 1 (/ a (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))))) |
4 calls. Slowest were:
| 11.0ms | (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) |
| 5.0ms | (sqrt (- (* b_2 b_2) (* a c))) |
| 2.0ms | (- (* b_2 b_2) (* a c)) |
4 calls. Slowest were:
| 97.0ms | (/ 1 (/ a (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))))) |
| 66.0ms | (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) |
| 51.0ms | (sqrt (- (* b_2 b_2) (* a c))) |
| 36.0ms | (- (* b_2 b_2) (* a c)) |
85 calls. Slowest were:
| 524.0ms | (sqrt (- (* (* b_2 b_2) (* b_2 b_2)) (* (* a c) (* a c)))) |
| 450.0ms | (+ (* (- b_2) (- b_2)) (+ (* (sqrt (- (* b_2 b_2) (* a c))) (sqrt (- (* b_2 b_2) (* a c)))) (* (- b_2) (sqrt (- (* b_2 b_2) (* a c)))))) |
| 347.0ms | (sqrt (- (pow (* b_2 b_2) 3) (pow (* a c) 3))) |
7 alts after pruning (6 fresh and 1 done)
Merged error: 5.0b
Found 4 expressions with local error:
| 22.2b | (sqrt (- (* b_2 b_2) (* a c))) |
| 1.7b | (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) |
| 0.6b | (- (* b_2 b_2) (* a c)) |
| 0.2b | (* (/ 1 a) (- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))) |
4 calls. Slowest were:
| 19.0ms | (* (/ 1 a) (- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))) |
| 7.0ms | (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) |
| 3.0ms | (sqrt (- (* b_2 b_2) (* a c))) |
4 calls. Slowest were:
| 69.0ms | (* (/ 1 a) (- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))) |
| 60.0ms | (sqrt (- (* b_2 b_2) (* a c))) |
| 59.0ms | (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) |
| 23.0ms | (- (* b_2 b_2) (* a c)) |
147 calls. Slowest were:
| 960.0ms | (* (* (* (/ 1 a) (/ 1 a)) (/ 1 a)) (* (* (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) (- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))) (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))))) |
| 558.0ms | (sqrt (- (* (* b_2 b_2) (* b_2 b_2)) (* (* a c) (* a c)))) |
| 489.0ms | (* 1 (- (* (- b_2) (- b_2)) (* (sqrt (- (* b_2 b_2) (* a c))) (sqrt (- (* b_2 b_2) (* a c)))))) |
7 alts after pruning (5 fresh and 2 done)
Merged error: 5.0b
Found 4 expressions with local error:
| 22.2b | (sqrt (- (* b_2 b_2) (* a c))) |
| 15.2b | (/ (* a c) (* a (+ (- b_2) (sqrt (- (* b_2 b_2) (* a c)))))) |
| 1.1b | (+ (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) |
| 0.6b | (- (* b_2 b_2) (* a c)) |
4 calls. Slowest were:
| 15.0ms | (/ (* a c) (* a (+ (- b_2) (sqrt (- (* b_2 b_2) (* a c)))))) |
| 6.0ms | (+ (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) |
| 5.0ms | (sqrt (- (* b_2 b_2) (* a c))) |
4 calls. Slowest were:
| 94.0ms | (/ (* a c) (* a (+ (- b_2) (sqrt (- (* b_2 b_2) (* a c)))))) |
| 61.0ms | (+ (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) |
| 35.0ms | (sqrt (- (* b_2 b_2) (* a c))) |
| 33.0ms | (- (* b_2 b_2) (* a c)) |
32 calls. Slowest were:
| 620.0ms | (+ (* (- b_2) (- b_2)) (- (* (sqrt (- (* b_2 b_2) (* a c))) (sqrt (- (* b_2 b_2) (* a c)))) (* (- b_2) (sqrt (- (* b_2 b_2) (* a c)))))) |
| 572.0ms | (sqrt (- (* (* b_2 b_2) (* b_2 b_2)) (* (* a c) (* a c)))) |
| 510.0ms | (- (log (* a c)) (log (* a (+ (- b_2) (sqrt (- (* b_2 b_2) (* a c))))))) |
8 alts after pruning (5 fresh and 3 done)
Merged error: 5.0b
85.1% (4.1b remaining)
Error of 9.7b against oracle of 5.6b and baseline of 33.3b