


Bits error versus F



Bits error versus l
Results
Initial program 8.7
Simplified8.3
rmApplied *-un-lft-identity8.3
Applied times-frac0.7
rmApplied associate-*r/0.7
Final simplification0.7
herbie shell --seed 2019008
(FPCore (F l)
:name "VandenBroeck and Keller, Equation (6)"
(- (* PI l) (* (/ 1 (* F F)) (tan (* PI l)))))
Time bar (total: 29.4s)Debug log
1 calls. Slowest were:
| 229.0ms | (- (* PI l) (* (/ 1 (* F F)) (tan (* PI l)))) |
2 alts after pruning (2 fresh and 0 done)
Merged error: 7.8b
Found 4 expressions with local error:
| 7.5b | (/ (tan (* PI l)) (* F F)) |
| 2.7b | (tan (* PI l)) |
| 0.3b | (* PI l) |
| 0.3b | (* PI l) |
4 calls. Slowest were:
| 11.0ms | (/ (tan (* PI l)) (* F F)) |
| 3.0ms | (tan (* PI l)) |
| 0.0ms | (* PI l) |
4 calls. Slowest were:
| 118.0ms | (/ (tan (* PI l)) (* F F)) |
| 59.0ms | (tan (* PI l)) |
| 39.0ms | (* PI l) |
| 26.0ms | (* PI l) |
23 calls. Slowest were:
| 480.0ms | (+ (/ (* PI l) (pow F 2)) (+ (* 2/15 (/ (* (pow PI 5) (pow l 5)) (pow F 2))) (* 1/3 (/ (* (pow PI 3) (pow l 3)) (pow F 2))))) |
| 284.0ms | (/ (* (* (tan (* PI l)) (tan (* PI l))) (tan (* PI l))) (* (* (* F F) (* F F)) (* F F))) |
| 252.0ms | (+ (* 2/15 (* (pow PI 5) (pow l 5))) (+ (* 1/3 (* (pow PI 3) (pow l 3))) (* PI l))) |
12 alts after pruning (12 fresh and 0 done)
Merged error: 0.3b
Found 4 expressions with local error:
| 2.7b | (tan (* PI l)) |
| 0.3b | (* PI l) |
| 0.3b | (* PI l) |
| 0.2b | (* (/ 1 F) (/ (tan (* PI l)) F)) |
4 calls. Slowest were:
| 9.0ms | (* (/ 1 F) (/ (tan (* PI l)) F)) |
| 7.0ms | (tan (* PI l)) |
| 0.0ms | (* PI l) |
4 calls. Slowest were:
| 115.0ms | (* (/ 1 F) (/ (tan (* PI l)) F)) |
| 66.0ms | (tan (* PI l)) |
| 48.0ms | (* PI l) |
| 47.0ms | (* PI l) |
24 calls. Slowest were:
| 438.0ms | (* (* (* (/ 1 F) (/ 1 F)) (/ 1 F)) (* (* (/ (tan (* PI l)) F) (/ (tan (* PI l)) F)) (/ (tan (* PI l)) F))) |
| 327.0ms | (+ (/ (* PI l) (pow F 2)) (* 1/3 (/ (* (pow PI 3) (pow l 3)) (pow F 2)))) |
| 242.0ms | (+ (* 2/15 (* (pow PI 5) (pow l 5))) (+ (* 1/3 (* (pow PI 3) (pow l 3))) (* PI l))) |
13 alts after pruning (13 fresh and 0 done)
Merged error: 0.3b
Found 4 expressions with local error:
| 2.7b | (tan (* PI l)) |
| 0.3b | (* PI l) |
| 0.3b | (* PI l) |
| 0.2b | (* (/ 1 F) (tan (* PI l))) |
4 calls. Slowest were:
| 6.0ms | (* (/ 1 F) (tan (* PI l))) |
| 2.0ms | (tan (* PI l)) |
| 0.0ms | (* PI l) |
4 calls. Slowest were:
| 101.0ms | (* (/ 1 F) (tan (* PI l))) |
| 64.0ms | (tan (* PI l)) |
| 44.0ms | (* PI l) |
| 43.0ms | (* PI l) |
24 calls. Slowest were:
| 445.0ms | (* (* (* (/ 1 F) (/ 1 F)) (/ 1 F)) (* (* (tan (* PI l)) (tan (* PI l))) (tan (* PI l)))) |
| 254.0ms | (+ (* 2/15 (* (pow PI 5) (pow l 5))) (+ (* 1/3 (* (pow PI 3) (pow l 3))) (* PI l))) |
| 119.0ms | (+ (* 1/3 (/ (* (pow PI 3) (pow l 3)) F)) (/ (* PI l) F)) |
15 alts after pruning (14 fresh and 1 done)
Merged error: 0.3b
Found 4 expressions with local error:
| 2.7b | (tan (* PI l)) |
| 0.6b | (cbrt (/ 1 F)) |
| 0.6b | (cbrt (/ 1 F)) |
| 0.6b | (cbrt (/ 1 F)) |
4 calls. Slowest were:
| 3.0ms | (tan (* PI l)) |
| 1.0ms | (cbrt (/ 1 F)) |
| 1.0ms | (cbrt (/ 1 F)) |
4 calls. Slowest were:
| 325.0ms | (cbrt (/ 1 F)) |
| 305.0ms | (cbrt (/ 1 F)) |
| 266.0ms | (cbrt (/ 1 F)) |
| 52.0ms | (tan (* PI l)) |
27 calls. Slowest were:
| 228.0ms | (+ (* 2/15 (* (pow PI 5) (pow l 5))) (+ (* 1/3 (* (pow PI 3) (pow l 3))) (* PI l))) |
| 6.0ms | (* (cbrt -1) (pow (/ -1 F) 1/3)) |
| 6.0ms | (* (cbrt -1) (pow (/ -1 F) 1/3)) |
15 alts after pruning (13 fresh and 2 done)
Merged error: 0.3b
0% (0.2b remaining)
Error of 0.7b against oracle of 0.5b and baseline of 0.7b