


Bits error versus t



Bits error versus l



Bits error versus k
Results
if (* l l) < 3.8660636787078e-320Initial program 44.8
Taylor expanded around -inf 20.7
rmApplied associate-*r*19.9
rmApplied unpow219.9
Applied associate-*r*19.9
rmApplied add-cbrt-cube20.0
Applied add-cbrt-cube22.4
Applied cbrt-undiv22.4
Simplified15.4
if 3.8660636787078e-320 < (* l l) < 1.4084948583551732e+131Initial program 42.5
Taylor expanded around -inf 11.3
rmApplied associate-*r*8.8
rmApplied unpow28.8
Applied associate-*r*5.9
rmApplied associate-/l*3.5
if 1.4084948583551732e+131 < (* l l) < 6.069165899924277e+222Initial program 47.3
Taylor expanded around -inf 21.3
rmApplied times-frac21.1
Applied associate-/r*21.6
if 6.069165899924277e+222 < (* l l) < 1.8570723857001577e+300Initial program 49.2
Taylor expanded around -inf 30.3
rmApplied associate-*r*30.1
rmApplied unpow230.1
Applied associate-*r*21.8
rmApplied div-inv21.8
Applied associate-/r*21.8
if 1.8570723857001577e+300 < (* l l) Initial program 62.0
rmApplied unpow362.0
Applied times-frac52.1
Applied associate-*l*52.1
Final simplification17.1
herbie shell --seed 2019004 +o rules:numerics
(FPCore (t l k)
:name "Toniolo and Linder, Equation (10-)"
(/ 2 (* (* (* (/ (pow t 3) (* l l)) (sin k)) (tan k)) (- (+ 1 (pow (/ k t) 2)) 1))))
Time bar (total: 1.6m)Debug log
1 calls. Slowest were:
| 96.0ms | (/ 2 (* (* (* (/ (pow t 3) (* l l)) (sin k)) (tan k)) (- (+ 1 (pow (/ k t) 2)) 1))) |
1 alts after pruning (1 fresh and 0 done)
Merged error: 49.0b
Found 4 expressions with local error:
| 36.6b | (* (* (* (/ (pow t 3) (* l l)) (sin k)) (tan k)) (- (+ 1 (pow (/ k t) 2)) 1)) |
| 13.3b | (/ (pow t 3) (* l l)) |
| 0.8b | (* (/ (pow t 3) (* l l)) (sin k)) |
| 0.8b | (* (* (/ (pow t 3) (* l l)) (sin k)) (tan k)) |
4 calls. Slowest were:
| 43.0ms | (* (* (* (/ (pow t 3) (* l l)) (sin k)) (tan k)) (- (+ 1 (pow (/ k t) 2)) 1)) |
| 12.0ms | (* (* (/ (pow t 3) (* l l)) (sin k)) (tan k)) |
| 5.0ms | (* (/ (pow t 3) (* l l)) (sin k)) |
4 calls. Slowest were:
| 283.0ms | (* (* (* (/ (pow t 3) (* l l)) (sin k)) (tan k)) (- (+ 1 (pow (/ k t) 2)) 1)) |
| 189.0ms | (* (* (/ (pow t 3) (* l l)) (sin k)) (tan k)) |
| 74.0ms | (* (/ (pow t 3) (* l l)) (sin k)) |
| 20.0ms | (/ (pow t 3) (* l l)) |
103 calls. Slowest were:
| 1.3s | (* (* (* (pow t 3) (sin k)) (sin k)) (- (+ 1 (pow (/ k t) 2)) 1)) |
| 1.0s | (sqrt (- (+ 1 (pow (/ k t) 2)) 1)) |
| 1.0s | (cbrt (- (+ 1 (pow (/ k t) 2)) 1)) |
12 alts after pruning (12 fresh and 0 done)
Merged error: 22.0b
Found 4 expressions with local error:
| 22.7b | (/ (* t (* (pow k 2) (pow (sin k) 2))) (* (pow l 2) (cos k))) |
| 5.8b | (* t (* (pow k 2) (pow (sin k) 2))) |
| 0.4b | (pow (sin k) 2) |
| 0.4b | (/ 2 (/ (* t (* (pow k 2) (pow (sin k) 2))) (* (pow l 2) (cos k)))) |
4 calls. Slowest were:
| 19.0ms | (/ (* t (* (pow k 2) (pow (sin k) 2))) (* (pow l 2) (cos k))) |
| 10.0ms | (* t (* (pow k 2) (pow (sin k) 2))) |
| 3.0ms | (/ 2 (/ (* t (* (pow k 2) (pow (sin k) 2))) (* (pow l 2) (cos k)))) |
4 calls. Slowest were:
| 273.0ms | (/ 2 (/ (* t (* (pow k 2) (pow (sin k) 2))) (* (pow l 2) (cos k)))) |
| 200.0ms | (/ (* t (* (pow k 2) (pow (sin k) 2))) (* (pow l 2) (cos k))) |
| 93.0ms | (* t (* (pow k 2) (pow (sin k) 2))) |
| 25.0ms | (pow (sin k) 2) |
32 calls. Slowest were:
| 815.0ms | (/ (* (* (* t (* (pow k 2) (pow (sin k) 2))) (* t (* (pow k 2) (pow (sin k) 2)))) (* t (* (pow k 2) (pow (sin k) 2)))) (* (* (* (pow l 2) (cos k)) (* (pow l 2) (cos k))) (* (pow l 2) (cos k)))) |
| 542.0ms | (cbrt (/ (* t (* (pow k 2) (pow (sin k) 2))) (* (pow l 2) (cos k)))) |
| 520.0ms | (/ (* t (* (pow k 2) (pow (sin k) 2))) (* (pow l 2) (cos k))) |
16 alts after pruning (16 fresh and 0 done)
Merged error: 17.6b
Found 4 expressions with local error:
| 22.7b | (/ (* (* t (pow k 2)) (pow (sin k) 2)) (* (pow l 2) (cos k))) |
| 6.6b | (* t (pow k 2)) |
| 0.4b | (pow (sin k) 2) |
| 0.4b | (/ 2 (/ (* (* t (pow k 2)) (pow (sin k) 2)) (* (pow l 2) (cos k)))) |
4 calls. Slowest were:
| 10.0ms | (/ (* (* t (pow k 2)) (pow (sin k) 2)) (* (pow l 2) (cos k))) |
| 1.0ms | (/ 2 (/ (* (* t (pow k 2)) (pow (sin k) 2)) (* (pow l 2) (cos k)))) |
| 1.0ms | (* t (pow k 2)) |
4 calls. Slowest were:
| 300.0ms | (/ 2 (/ (* (* t (pow k 2)) (pow (sin k) 2)) (* (pow l 2) (cos k)))) |
| 200.0ms | (/ (* (* t (pow k 2)) (pow (sin k) 2)) (* (pow l 2) (cos k))) |
| 26.0ms | (pow (sin k) 2) |
| 23.0ms | (* t (pow k 2)) |
46 calls. Slowest were:
| 629.0ms | (/ (* (* (* (* t (pow k 2)) (* t (pow k 2))) (* t (pow k 2))) (* (* (pow (sin k) 2) (pow (sin k) 2)) (pow (sin k) 2))) (* (* (* (pow l 2) (cos k)) (* (pow l 2) (cos k))) (* (pow l 2) (cos k)))) |
| 602.0ms | (/ (* (* (* (* t (pow k 2)) (* t (pow k 2))) (* t (pow k 2))) (* (* (pow (sin k) 2) (pow (sin k) 2)) (pow (sin k) 2))) (* (* (* (pow l 2) (pow l 2)) (pow l 2)) (* (* (cos k) (cos k)) (cos k)))) |
| 584.0ms | (/ (* (* (* (* t (pow k 2)) (pow (sin k) 2)) (* (* t (pow k 2)) (pow (sin k) 2))) (* (* t (pow k 2)) (pow (sin k) 2))) (* (* (* (pow l 2) (cos k)) (* (pow l 2) (cos k))) (* (pow l 2) (cos k)))) |
17 alts after pruning (17 fresh and 0 done)
Merged error: 15.8b
Found 4 expressions with local error:
| 22.7b | (/ (* (* (* t k) k) (pow (sin k) 2)) (* (pow l 2) (cos k))) |
| 0.4b | (pow (sin k) 2) |
| 0.4b | (/ 2 (/ (* (* (* t k) k) (pow (sin k) 2)) (* (pow l 2) (cos k)))) |
| 0.2b | (* (pow l 2) (cos k)) |
4 calls. Slowest were:
| 24.0ms | (/ (* (* (* t k) k) (pow (sin k) 2)) (* (pow l 2) (cos k))) |
| 3.0ms | (* (pow l 2) (cos k)) |
| 2.0ms | (/ 2 (/ (* (* (* t k) k) (pow (sin k) 2)) (* (pow l 2) (cos k)))) |
4 calls. Slowest were:
| 259.0ms | (/ 2 (/ (* (* (* t k) k) (pow (sin k) 2)) (* (pow l 2) (cos k)))) |
| 221.0ms | (/ (* (* (* t k) k) (pow (sin k) 2)) (* (pow l 2) (cos k))) |
| 48.0ms | (* (pow l 2) (cos k)) |
| 26.0ms | (pow (sin k) 2) |
51 calls. Slowest were:
| 631.0ms | (/ (* (* (* (* (* t k) k) (* (* t k) k)) (* (* t k) k)) (* (* (pow (sin k) 2) (pow (sin k) 2)) (pow (sin k) 2))) (* (* (* (pow l 2) (pow l 2)) (pow l 2)) (* (* (cos k) (cos k)) (cos k)))) |
| 536.0ms | (/ (* (* (* (* (* t k) k) (* (* t k) k)) (* (* t k) k)) (* (* (pow (sin k) 2) (pow (sin k) 2)) (pow (sin k) 2))) (* (* (* (pow l 2) (cos k)) (* (pow l 2) (cos k))) (* (pow l 2) (cos k)))) |
| 533.0ms | (/ (* (* (* (* (* t k) k) (pow (sin k) 2)) (* (* (* t k) k) (pow (sin k) 2))) (* (* (* t k) k) (pow (sin k) 2))) (* (* (* (pow l 2) (cos k)) (* (pow l 2) (cos k))) (* (pow l 2) (cos k)))) |
19 alts after pruning (19 fresh and 0 done)
Merged error: 14.9b
33.6% (5.2b remaining)
Error of 17.1b against oracle of 11.9b and baseline of 19.7b