


Bits error versus F



Bits error versus B



Bits error versus x
Results
if F < -2.7343291591323734e+73Initial program 29.5
Initial simplification29.5
rmApplied div-inv29.5
Applied associate-*r*23.8
Taylor expanded around -inf 0.1
if -2.7343291591323734e+73 < F < 13133.831615333233Initial program 0.6
Initial simplification0.5
rmApplied div-inv0.5
Applied associate-*r*0.3
rmApplied tan-quot0.3
Applied associate-/r/0.3
if 13133.831615333233 < F Initial program 24.2
Initial simplification24.2
rmApplied div-inv24.2
Applied associate-*r*19.6
Taylor expanded around inf 0.1
Final simplification0.2
herbie shell --seed 2018360
(FPCore (F B x)
:name "VandenBroeck and Keller, Equation (23)"
(+ (- (* x (/ 1 (tan B)))) (* (/ F (sin B)) (pow (+ (+ (* F F) 2) (* 2 x)) (- (/ 1 2))))))
Time bar (total: 17.0s)Debug log
2 alts after pruning (2 fresh and 0 done)
Merged error: 11.8b
Found 4 expressions with local error:
| 14.7b | (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) |
| 5.3b | (* (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) (/ F (sin B))) |
| 0.2b | (/ x (tan B)) |
| 0.1b | (/ F (sin B)) |
4 calls. Slowest were:
| 19.0ms | (* (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) (/ F (sin B))) |
| 10.0ms | (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) |
| 1.0ms | (/ x (tan B)) |
4 calls. Slowest were:
| 176.0ms | (* (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) (/ F (sin B))) |
| 169.0ms | (/ x (tan B)) |
| 107.0ms | (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) |
| 65.0ms | (/ F (sin B)) |
38 calls. Slowest were:
| 246.0ms | (- (/ (* F (sqrt 1/2)) B) (+ (* 1/2 (/ (* (pow F 3) (sqrt 1/8)) B)) (* 1/4 (/ (* x F) (* B (sqrt 1/2)))))) |
| 243.0ms | (- (pow 2 -1/2) (+ (* 1/2 (* (pow F 2) (sqrt 1/8))) (* 1/2 (* x (sqrt 1/2))))) |
| 211.0ms | (* (* (* (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2)) (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2)) (* (* (/ F (sin B)) (/ F (sin B))) (/ F (sin B)))) |
11 alts after pruning (11 fresh and 0 done)
Merged error: 0.0b
Found 4 expressions with local error:
| 14.7b | (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) |
| 0.4b | (* (* (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) F) (/ 1 (sin B))) |
| 0.3b | (* (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) F) |
| 0.2b | (/ x (tan B)) |
4 calls. Slowest were:
| 34.0ms | (* (* (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) F) (/ 1 (sin B))) |
| 19.0ms | (* (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) F) |
| 8.0ms | (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) |
4 calls. Slowest were:
| 143.0ms | (/ x (tan B)) |
| 128.0ms | (* (* (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) F) (/ 1 (sin B))) |
| 76.0ms | (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) |
| 62.0ms | (* (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) F) |
37 calls. Slowest were:
| 403.0ms | (* (* (* (* (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) F) (* (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) F)) (* (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) F)) (* (* (/ 1 (sin B)) (/ 1 (sin B))) (/ 1 (sin B)))) |
| 245.0ms | (- (* F (sqrt 1/2)) (+ (* 1/4 (/ (* x F) (sqrt 1/2))) (* 1/2 (* (pow F 3) (sqrt 1/8))))) |
| 237.0ms | (- (pow 2 -1/2) (+ (* 1/2 (* (pow F 2) (sqrt 1/8))) (* 1/2 (* x (sqrt 1/2))))) |
10 alts after pruning (10 fresh and 0 done)
Merged error: 0.0b
Found 4 expressions with local error:
| 14.7b | (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) |
| 0.4b | (* (* (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) F) (/ 1 (sin B))) |
| 0.3b | (* (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) F) |
| 0.2b | (* (/ x (sin B)) (cos B)) |
4 calls. Slowest were:
| 21.0ms | (* (* (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) F) (/ 1 (sin B))) |
| 18.0ms | (* (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) F) |
| 10.0ms | (* (/ x (sin B)) (cos B)) |
4 calls. Slowest were:
| 136.0ms | (* (* (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) F) (/ 1 (sin B))) |
| 107.0ms | (* (/ x (sin B)) (cos B)) |
| 62.0ms | (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) |
| 41.0ms | (* (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) F) |
42 calls. Slowest were:
| 408.0ms | (* (* (* (* (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) F) (* (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) F)) (* (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) F)) (* (* (/ 1 (sin B)) (/ 1 (sin B))) (/ 1 (sin B)))) |
| 266.0ms | (- (* F (sqrt 1/2)) (+ (* 1/4 (/ (* x F) (sqrt 1/2))) (* 1/2 (* (pow F 3) (sqrt 1/8))))) |
| 210.0ms | (- (/ (* F (sqrt 1/2)) B) (+ (* 1/2 (/ (* (pow F 3) (sqrt 1/8)) B)) (* 1/4 (/ (* x F) (* B (sqrt 1/2)))))) |
11 alts after pruning (10 fresh and 1 done)
Merged error: 0.0b
Found 4 expressions with local error:
| 14.7b | (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) |
| 0.4b | (* (* (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) F) (/ 1 (sin B))) |
| 0.3b | (* (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) F) |
| 0.3b | (* x (* (/ 1 (sin B)) (cos B))) |
4 calls. Slowest were:
| 29.0ms | (* (* (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) F) (/ 1 (sin B))) |
| 19.0ms | (* (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) F) |
| 7.0ms | (* x (* (/ 1 (sin B)) (cos B))) |
4 calls. Slowest were:
| 168.0ms | (* (* (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) F) (/ 1 (sin B))) |
| 102.0ms | (* x (* (/ 1 (sin B)) (cos B))) |
| 60.0ms | (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) |
| 38.0ms | (* (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) F) |
35 calls. Slowest were:
| 337.0ms | (* (* (* (* (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) F) (* (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) F)) (* (pow (+ (+ 2 (* F F)) (* 2 x)) -1/2) F)) (* (* (/ 1 (sin B)) (/ 1 (sin B))) (/ 1 (sin B)))) |
| 248.0ms | (- (/ (* F (sqrt 1/2)) B) (+ (* 1/2 (/ (* (pow F 3) (sqrt 1/8)) B)) (* 1/4 (/ (* x F) (* B (sqrt 1/2)))))) |
| 206.0ms | (- (* F (sqrt 1/2)) (+ (* 1/4 (/ (* x F) (sqrt 1/2))) (* 1/2 (* (pow F 3) (sqrt 1/8))))) |
11 alts after pruning (9 fresh and 2 done)
Merged error: 0.0b
98.2% (0.2b remaining)
Error of 0.2b against oracle of 0.0b and baseline of 10.6b