


Bits error versus t



Bits error versus l



Bits error versus k
if t < -1.628511039343269e-184Initial program 27.2
rmApplied unpow327.2
Applied times-frac19.2
Applied associate-*l*17.1
rmApplied pow117.1
Applied pow117.1
Applied pow117.1
Applied pow117.1
Applied pow-prod-down17.1
Applied pow117.1
Applied pow-prod-down17.1
Applied pow-prod-down17.1
Applied pow-prod-down17.1
Simplified11.8
rmApplied *-un-lft-identity11.8
Applied associate-/r*11.8
Simplified7.4
if -1.628511039343269e-184 < t < 1.4324896232433092e-232Initial program 62.7
rmApplied unpow362.7
Applied times-frac62.6
Applied associate-*l*62.6
Taylor expanded around -inf 42.5
if 1.4324896232433092e-232 < t Initial program 29.8
rmApplied unpow329.8
Applied times-frac21.7
Applied associate-*l*19.8
rmApplied pow119.8
Applied pow119.8
Applied pow119.8
Applied pow119.8
Applied pow-prod-down19.8
Applied pow119.8
Applied pow-prod-down19.8
Applied pow-prod-down19.8
Applied pow-prod-down19.8
Simplified14.4
rmApplied *-un-lft-identity14.4
Applied associate-/r*14.4
Simplified9.4
rmApplied tan-quot9.5
Applied associate-*r/9.5
Applied associate-*l/9.5
Applied associate-*r/9.5
Final simplification12.0
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.5m)Debug log
1 calls. Slowest were:
| 101.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: 29.1b
Found 4 expressions with local error:
| 13.5b | (/ (pow t 3) (* l l)) |
| 12.3b | (* (* (* (/ (pow t 3) (* l l)) (sin k)) (tan k)) (+ (+ 1 (pow (/ k t) 2)) 1)) |
| 3.4b | (* (/ (pow t 3) (* l l)) (sin k)) |
| 2.2b | (* (* (/ (pow t 3) (* l l)) (sin k)) (tan k)) |
4 calls. Slowest were:
| 65.0ms | (* (* (* (/ (pow t 3) (* l l)) (sin k)) (tan k)) (+ (+ 1 (pow (/ k t) 2)) 1)) |
| 13.0ms | (* (* (/ (pow t 3) (* l l)) (sin k)) (tan k)) |
| 7.0ms | (/ (pow t 3) (* l l)) |
4 calls. Slowest were:
| 306.0ms | (* (* (* (/ (pow t 3) (* l l)) (sin k)) (tan k)) (+ (+ 1 (pow (/ k t) 2)) 1)) |
| 186.0ms | (* (* (/ (pow t 3) (* l l)) (sin k)) (tan k)) |
| 65.0ms | (* (/ (pow t 3) (* l l)) (sin k)) |
| 18.0ms | (/ (pow t 3) (* l l)) |
98 calls. Slowest were:
| 1.3s | (* (* l l) (- (+ 1 (pow (/ k t) 2)) 1)) |
| 762.0ms | (- (+ 1 (pow (/ k t) 2)) 1) |
| 714.0ms | (* (* (* l l) (cos k)) (- (+ 1 (pow (/ k t) 2)) 1)) |
11 alts after pruning (11 fresh and 0 done)
Merged error: 12.2b
Found 4 expressions with local error:
| 12.3b | (* (* (* (/ (* t t) l) (* (/ t l) (sin k))) (tan k)) (+ (+ 1 (pow (/ k t) 2)) 1)) |
| 8.6b | (/ (* t t) l) |
| 4.0b | (* (/ t l) (sin k)) |
| 2.2b | (* (* (/ (* t t) l) (* (/ t l) (sin k))) (tan k)) |
4 calls. Slowest were:
| 69.0ms | (* (* (* (/ (* t t) l) (* (/ t l) (sin k))) (tan k)) (+ (+ 1 (pow (/ k t) 2)) 1)) |
| 48.0ms | (* (* (/ (* t t) l) (* (/ t l) (sin k))) (tan k)) |
| 7.0ms | (* (/ t l) (sin k)) |
4 calls. Slowest were:
| 392.0ms | (* (* (* (/ (* t t) l) (* (/ t l) (sin k))) (tan k)) (+ (+ 1 (pow (/ k t) 2)) 1)) |
| 171.0ms | (* (* (/ (* t t) l) (* (/ t l) (sin k))) (tan k)) |
| 81.0ms | (* (/ t l) (sin k)) |
| 17.0ms | (/ (* t t) l) |
99 calls. Slowest were:
| 1.3s | (* (* l l) (- (+ 1 (pow (/ k t) 2)) 1)) |
| 725.0ms | (- (+ 1 (pow (/ k t) 2)) 1) |
| 664.0ms | (* (* (* l l) (cos k)) (- (+ 1 (pow (/ k t) 2)) 1)) |
10 alts after pruning (10 fresh and 0 done)
Merged error: 6.9b
Found 4 expressions with local error:
| 14.2b | (* (* (* (tan k) (/ t l)) (* (/ t l) t)) (* (sin k) (fma (/ k t) (/ k t) 2))) |
| 4.0b | (* (tan k) (/ t l)) |
| 0.3b | (* (* (tan k) (/ t l)) (* (/ t l) t)) |
| 0.2b | (/ 2 (pow (* (* (* (tan k) (/ t l)) (* (/ t l) t)) (* (sin k) (fma (/ k t) (/ k t) 2))) 1)) |
4 calls. Slowest were:
| 65.0ms | (* (* (* (tan k) (/ t l)) (* (/ t l) t)) (* (sin k) (fma (/ k t) (/ k t) 2))) |
| 12.0ms | (* (* (tan k) (/ t l)) (* (/ t l) t)) |
| 10.0ms | (/ 2 (pow (* (* (* (tan k) (/ t l)) (* (/ t l) t)) (* (sin k) (fma (/ k t) (/ k t) 2))) 1)) |
4 calls. Slowest were:
| 767.0ms | (/ 2 (pow (* (* (* (tan k) (/ t l)) (* (/ t l) t)) (* (sin k) (fma (/ k t) (/ k t) 2))) 1)) |
| 226.0ms | (* (* (* (tan k) (/ t l)) (* (/ t l) t)) (* (sin k) (fma (/ k t) (/ k t) 2))) |
| 124.0ms | (* (* (tan k) (/ t l)) (* (/ t l) t)) |
| 110.0ms | (* (tan k) (/ t l)) |
75 calls. Slowest were:
| 643.0ms | (* (* (* (sin k) t) (* (/ t l) t)) (* (sin k) (fma (/ k t) (/ k t) 2))) |
| 617.0ms | (* (* (* (tan k) (/ t l)) (* t t)) (* (sin k) (fma (/ k t) (/ k t) 2))) |
| 466.0ms | (* (* (* (sin k) (/ t l)) (* t t)) (* (sin k) (fma (/ k t) (/ k t) 2))) |
13 alts after pruning (13 fresh and 0 done)
Merged error: 6.3b
Found 4 expressions with local error:
| 9.5b | (* (* (* (/ t l) (sin k)) (fma (/ k t) (/ k t) 2)) (* (* t (tan k)) (/ t l))) |
| 5.1b | (* (* (/ t l) (sin k)) (fma (/ k t) (/ k t) 2)) |
| 4.0b | (* (/ t l) (sin k)) |
| 1.3b | (* (* t (tan k)) (/ t l)) |
4 calls. Slowest were:
| 49.0ms | (* (* (* (/ t l) (sin k)) (fma (/ k t) (/ k t) 2)) (* (* t (tan k)) (/ t l))) |
| 22.0ms | (* (* (/ t l) (sin k)) (fma (/ k t) (/ k t) 2)) |
| 5.0ms | (* (* t (tan k)) (/ t l)) |
4 calls. Slowest were:
| 373.0ms | (* (* (* (/ t l) (sin k)) (fma (/ k t) (/ k t) 2)) (* (* t (tan k)) (/ t l))) |
| 190.0ms | (* (* (/ t l) (sin k)) (fma (/ k t) (/ k t) 2)) |
| 135.0ms | (* (* t (tan k)) (/ t l)) |
| 91.0ms | (* (/ t l) (sin k)) |
73 calls. Slowest were:
| 787.0ms | (* (* (* (* (* (/ t l) (/ t l)) (/ t l)) (* (* (sin k) (sin k)) (sin k))) (* (* (fma (/ k t) (/ k t) 2) (fma (/ k t) (/ k t) 2)) (fma (/ k t) (/ k t) 2))) (* (* (* (* t (tan k)) (* t (tan k))) (* t (tan k))) (* (* (/ t l) (/ t l)) (/ t l)))) |
| 579.0ms | (* (* (* t (sin k)) (fma (/ k t) (/ k t) 2)) (* (* t (sin k)) (/ t l))) |
| 492.0ms | (* (* (* (* t (tan k)) (* t (tan k))) (* t (tan k))) (* (* (/ t l) (/ t l)) (/ t l))) |
13 alts after pruning (12 fresh and 1 done)
Merged error: 6.3b
16% (4.4b remaining)
Error of 12.0b against oracle of 7.6b and baseline of 12.8b