by Dennis Darland dennis.darland@yahoo.com
dennisdarland.comComments welcome
Function | constant | linear | full series |
---|---|---|---|
sin | add_sub_sin_c_cos_c_tan_c (30) | lin_sin_cos (28) | sin_sqrt_lin (30) |
cos | add_sub_sin_c_cos_c_tan_c (30) | lin_sin_cos (28) | cos_sqrt_lin (31) |
tan | add_sub_sin_c_cos_c_tan_c (30) | lin_tan (25) | tan_sqrt_lin (??)** |
cosh | mult_div_sinh_cosh_tanh (31) | lin_cosh (28) | cosh_sqrt (31)* |
tanh | mult_div_sinh_cosh_tanh (31) | lin_tanh (29) | tanh_sqrt (31)* |
arcsin | arcsin_c_arccos_c_arctan_c (30) | lin_arcsin (32) | arcsin_sqrt (31)* |
arccos | arcsin_c_arccos_c_arctan_c (30) | lin_arccos (18)** | arccos_sqrt (31)* |
arctan | arcsin_c_arccos_c_arctan_c (30) | lin_arctan (16)** | arctan_sqrt (30)* |
ln | ln_c_exp_c_sqrt_c (31) | lin_ln (31) | ln_sqrt (31)* |
exp | ln_c_exp_c_sqrt_c (31) | lin_exp (32) | exp_sqrt (31)* |
sqrt | ln_c_exp_c_sqrt_c (31) | sin_sqrt_lin (30) | sqrt_sqrt (32) |
lhs | constant | linear | full series |
---|---|---|---|
constant | add_sub_sin_c_cos_c_tan_c (30) | add_c_lin (32) | add_c_sin (30) |
linear | add_lin_c (32) | add_lin_lin (32) | add_lin_full (32) |
full series | add_sin_c (30) | add_full_lin(32) | lin_sin_cos (28) |
lhs | constant | linear | full series |
---|---|---|---|
constant | add_sub_sin_c_cos_c_tan_c (30) | sub_c_lin (32)* | sub_c_sin (30)* |
linear | sub_lin_c (32) | sub_lin_lin (32) | sub_lin_sin (30)* |
full series | sub_sin_c (30) | sub_full_lin (32) | sub_sin_cos (30)* |
lhs | constant | linear | full series |
---|---|---|---|
constant | mult_div_sinh_cosh_tanh (31) | mult_c_lin (31) | mult_c_sin (30) |
linear | mult_lin_c (32)* | mult_lin_lin (32) | mult_lin_sin (30)* |
full series | mult_sin_c (30) | mult_sin_lin(30)* | mult_sin_sin(26) |
lhs | constant | linear | full series |
---|---|---|---|
constant | mult_div_sinh_cosh_tanh (31) | div_c_lin (32) | div_c_exp (30)* |
linear | div_lin_c (32)* | div_lin_lin (29)* | div_lin_exp (30)* |
full series | div_sin_c (30)* | div_sin_lin (29) | div_exp_exp (31)* |
lhs | constant | linear | full series |
---|---|---|---|
constant | expt_c_c (32) | expt_c_lin (31) | expt_c_sin (??)** |
linear | expt_lin_c (31)* | expt_lin_lin (4)** | expt_lin_sin (3)** |
full series | expt_sin_c (30)* | expt_sin_lin (??)** | expt_sin_sin (??)** |
Language | Compute every time | Pre-compute all | Compute as needed and save | With Linear Opt |
---|---|---|---|---|
Maple | 1 min 40 sec (16 digits) | 29 sec (16 digits) | 41 sec (32 digits) | 20 sec (32 digits) |
Maxima | 40 min 33 sec (16 digits) | 31 min 58 sec (16 digits) | 31 min 25 sec (16 digits) | 8 min 52 sec (16 digits) |
Language | Compute every time | Pre-compute all | Compute as needed and save |
---|---|---|---|
Maple | 1 min 40 sec (16 digits) | 29 sec (16 digits) | 41 sec (32 digits) |
Maxima | 40 min 33 sec (16 digits) | 31 min 58 sec (16 digits) | 31 min 25 sec (16 digits) |