


Bits error versus F



Bits error versus l
if F < -6.18268963321998e-135Initial program 0.7
Initial simplification0.7
Taylor expanded around -inf 0.7
rmApplied *-un-lft-identity0.7
Applied associate-/l*0.7
rmApplied div-inv0.7
Applied associate-/r*0.7
if -6.18268963321998e-135 < F < 1.4051220143244441e-87Initial program 36.9
Initial simplification36.9
Taylor expanded around -inf 35.0
rmApplied *-un-lft-identity35.0
Applied associate-/l*35.0
Taylor expanded around 0 36.9
Simplified1.7
if 1.4051220143244441e-87 < F Initial program 0.6
Initial simplification0.6
rmApplied associate-/r*0.6
Final simplification0.9
herbie shell --seed 2018360 +o rules:numerics
(FPCore (F l)
:name "VandenBroeck and Keller, Equation (6)"
(- (* PI l) (* (/ 1 (* F F)) (tan (* PI l)))))
Time bar (total: 15.6s)Debug log
1 alts after pruning (1 fresh and 0 done)
Merged error: 7.5b
Found 4 expressions with local error:
| 6.6b | (fma (tan (* PI l)) (/ -1 (* F F)) (* PI l)) |
| 5.4b | (tan (* PI l)) |
| 0.6b | (/ -1 (* F F)) |
| 0.3b | (* PI l) |
4 calls. Slowest were:
| 4.0ms | (tan (* PI l)) |
| 3.0ms | (fma (tan (* PI l)) (/ -1 (* F F)) (* PI l)) |
| 1.0ms | (/ -1 (* F F)) |
4 calls. Slowest were:
| 141.0ms | (fma (tan (* PI l)) (/ -1 (* F F)) (* PI l)) |
| 51.0ms | (tan (* PI l)) |
| 30.0ms | (* PI l) |
| 11.0ms | (/ -1 (* F F)) |
12 calls. Slowest were:
| 461.0ms | (- (* PI l) (+ (/ (* PI l) (pow F 2)) (* 1/3 (/ (* (pow PI 3) (pow l 3)) (pow F 2))))) |
| 305.0ms | (+ (* 2/15 (* (pow PI 5) (pow l 5))) (+ (* 1/3 (* (pow PI 3) (pow l 3))) (* PI l))) |
| 50.0ms | (- (* PI l) (/ (sin (* PI l)) (* (pow F 2) (cos (* PI l))))) |
12 alts after pruning (12 fresh and 0 done)
Merged error: 7.0b
Found 4 expressions with local error:
| 6.3b | (/ (sin (* PI l)) (* (pow F 2) (cos (* PI l)))) |
| 5.3b | (sin (* PI l)) |
| 5.2b | (cos (* PI l)) |
| 0.3b | (* PI l) |
4 calls. Slowest were:
| 8.0ms | (/ (sin (* PI l)) (* (pow F 2) (cos (* PI l)))) |
| 2.0ms | (sin (* PI l)) |
| 2.0ms | (cos (* PI l)) |
4 calls. Slowest were:
| 96.0ms | (/ (sin (* PI l)) (* (pow F 2) (cos (* PI l)))) |
| 46.0ms | (* PI l) |
| 15.0ms | (sin (* PI l)) |
| 11.0ms | (cos (* PI l)) |
26 calls. Slowest were:
| 382.0ms | (- (+ (* 1/24 (* (pow PI 4) (pow l 4))) 1) (* 1/2 (* (pow PI 2) (pow l 2)))) |
| 199.0ms | (- (+ (* 1/120 (* (pow PI 5) (pow l 5))) (* PI l)) (* 1/6 (* (pow PI 3) (pow l 3)))) |
| 133.0ms | (- (log (sin (* PI l))) (+ (log (pow F 2)) (log (cos (* PI l))))) |
18 alts after pruning (18 fresh and 0 done)
Merged error: 5.0b
Found 4 expressions with local error:
| 6.3b | (/ (* (pow F 2) (cos (* PI l))) (sin (* PI l))) |
| 5.3b | (sin (* PI l)) |
| 5.2b | (cos (* PI l)) |
| 0.3b | (/ 1 (/ (* (pow F 2) (cos (* PI l))) (sin (* PI l)))) |
4 calls. Slowest were:
| 17.0ms | (/ (* (pow F 2) (cos (* PI l))) (sin (* PI l))) |
| 5.0ms | (/ 1 (/ (* (pow F 2) (cos (* PI l))) (sin (* PI l)))) |
| 3.0ms | (sin (* PI l)) |
4 calls. Slowest were:
| 125.0ms | (/ (* (pow F 2) (cos (* PI l))) (sin (* PI l))) |
| 99.0ms | (/ 1 (/ (* (pow F 2) (cos (* PI l))) (sin (* PI l)))) |
| 16.0ms | (sin (* PI l)) |
| 11.0ms | (cos (* PI l)) |
36 calls. Slowest were:
| 917.0ms | (/ (* (* (* (pow F 2) (cos (* PI l))) (* (pow F 2) (cos (* PI l)))) (* (pow F 2) (cos (* PI l)))) (* (* (sin (* PI l)) (sin (* PI l))) (sin (* PI l)))) |
| 406.0ms | (+ (/ (* PI l) (pow F 2)) (* 1/3 (/ (* (pow PI 3) (pow l 3)) (pow F 2)))) |
| 318.0ms | (- (/ (pow F 2) (* PI l)) (* 1/3 (* (pow F 2) (* PI l)))) |
14 alts after pruning (14 fresh and 0 done)
Merged error: 0.8b
Found 4 expressions with local error:
| 6.3b | (/ (sin (* PI l)) (* (pow F 2) (cos (* (* (cbrt (* PI l)) (cbrt (* PI l))) (cbrt (* PI l)))))) |
| 5.3b | (sin (* PI l)) |
| 5.2b | (cos (* (* (cbrt (* PI l)) (cbrt (* PI l))) (cbrt (* PI l)))) |
| 0.6b | (cbrt (* PI l)) |
4 calls. Slowest were:
| 47.0ms | (/ (sin (* PI l)) (* (pow F 2) (cos (* (* (cbrt (* PI l)) (cbrt (* PI l))) (cbrt (* PI l)))))) |
| 35.0ms | (cos (* (* (cbrt (* PI l)) (cbrt (* PI l))) (cbrt (* PI l)))) |
| 3.0ms | (sin (* PI l)) |
4 calls. Slowest were:
| 377.0ms | (cbrt (* PI l)) |
| 118.0ms | (/ (sin (* PI l)) (* (pow F 2) (cos (* (* (cbrt (* PI l)) (cbrt (* PI l))) (cbrt (* PI l)))))) |
| 28.0ms | (cos (* (* (cbrt (* PI l)) (cbrt (* PI l))) (cbrt (* PI l)))) |
| 25.0ms | (sin (* PI l)) |
27 calls. Slowest were:
| 365.0ms | (- (+ (* 1/24 (* (pow PI 4) (pow l 4))) 1) (* 1/2 (* (pow PI 2) (pow l 2)))) |
| 178.0ms | (- (+ (* 1/120 (* (pow PI 5) (pow l 5))) (* PI l)) (* 1/6 (* (pow PI 3) (pow l 3)))) |
| 141.0ms | (- (log (sin (* PI l))) (+ (log (pow F 2)) (log (cos (* (* (cbrt (* PI l)) (cbrt (* PI l))) (cbrt (* PI l))))))) |
16 alts after pruning (16 fresh and 0 done)
Merged error: 0.8b
95.4% (0.3b remaining)
Error of 0.9b against oracle of 0.5b and baseline of 7.7b