2
0
mirror of https://github.com/boostorg/math.git synced 2026-01-30 08:02:11 +00:00

Fixed digamma 128-bit error rates with a more accurate value for the root.

Updated png's: hopefully they'll all render OK now.
Tweeked docs to reflect recent advances.


[SVN r3237]
This commit is contained in:
John Maddock
2006-10-04 09:57:05 +00:00
parent b1fd830fde
commit 5b95219e09
12 changed files with 27 additions and 25 deletions

View File

@@ -158,8 +158,8 @@ T digamma_imp_1_2(T x, const mpl::int_<0>*)
static const T root1 = 1569415565.0 / 1073741824uL;
static const T root2 = (381566830.0 / 1073741824uL) / 1073741824uL;
static const T root3 = ((111616537.0 / 1073741824uL) / 1073741824uL) / 1073741824uL;
static const T root4 = (((503992063.0 / 1073741824uL) / 1073741824uL) / 1073741824uL) / 1073741824uL;
static const T root5 = 0.75231638452626400509999138382223723380394592598054e-36L;
static const T root4 = (((503992070.0 / 1073741824uL) / 1073741824uL) / 1073741824uL) / 1073741824uL;
static const T root5 = 0.52112228569249997894452490385577338504019838794544e-36L;
static const T P[] = {
0.25479851061131551526977464225335883769L,