2009-07-17 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>

* mingwex/math/cephes_mconf.h mingwex/math/erfl.c mingwex/math/lgamma.c
        mingwex/math/lgammal.c mingwex/math/powl.c mingwex/math/sinhl.c
        mingwex/math/tanhl.c mingwex/math/tgamma.c mingwex/math/tgammal.c: Based on
        the fixes from the mingw-w64 code tree, fixed strict-aliasing issues.
This commit is contained in:
Chris Sutcliffe
2009-07-18 01:39:52 +00:00
parent c627d4ddd0
commit b5fb6b0dc3
10 changed files with 307 additions and 300 deletions

View File

@@ -69,18 +69,18 @@ static long double Q[] = {
#endif
#ifdef IBMPC
static const unsigned short P[] = {
0xec6a,0xd942,0xfbb3,0xeb8f,0x3feb, XPD
0x365e,0xb30a,0xe437,0xda86,0x3ff3, XPD
0x8890,0x01f6,0x2612,0xfde6,0x3ff9, XPD
0x0000,0x0000,0x0000,0x8000,0x3fff, XPD
static const uLD P[] = {
{ { 0xec6a,0xd942,0xfbb3,0xeb8f,0x3feb, XPD } },
{ { 0x365e,0xb30a,0xe437,0xda86,0x3ff3, XPD } },
{ { 0x8890,0x01f6,0x2612,0xfde6,0x3ff9, XPD } },
{ { 0x0000,0x0000,0x0000,0x8000,0x3fff, XPD } }
};
static const unsigned short Q[] = {
0x4edd,0x4c21,0xad09,0x95ed,0x3fe5, XPD
0x4376,0x9b70,0xd605,0xc65c,0xbfed, XPD
0xc8ad,0x5d21,0x3069,0x8aed,0x3ff5, XPD
0x9c32,0x6374,0x2d4b,0xe98d,0xbffb, XPD
0x0000,0x0000,0x0000,0xc000,0x4001, XPD
static const uLD Q[] = {
{ { 0x4edd,0x4c21,0xad09,0x95ed,0x3fe5, XPD } },
{ { 0x4376,0x9b70,0xd605,0xc65c,0xbfed, XPD } },
{ { 0xc8ad,0x5d21,0x3069,0x8aed,0x3ff5, XPD } },
{ { 0x9c32,0x6374,0x2d4b,0xe98d,0xbffb, XPD } },
{ { 0x0000,0x0000,0x0000,0xc000,0x4001, XPD } }
};
#endif