You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
both exp_m1 and exp2 where affected by wrong coefficients in the various EXP#_COEFFS arrays.
Now, they all use the same FRAC_FACT array containing the inverse factorial coefficients.
To keep track of the things being fixed for the exponential functions and increase the precision.
exp() was precise only up to f64 and with #42 matches TwoFloat.
TODO:
exp_m1()
has similar issues where nowa.exp() -1.0
is more precise than runninga.exp_m1()
a.exp2()
less precise than running(a*LN_2).exp()
Unrelated to EXP but exposed while improving the precision
log10
poor precision due to 1/LN_10 lost accuracyThe text was updated successfully, but these errors were encountered: