* mingwex/gdtoa/strtopx.c (strtopx): Fix (sic) infinity.

This commit is contained in:
Danny Smith 2006-09-16 07:35:45 +00:00
parent 23754b33c3
commit 3e231d9a38
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2006-09-16 Danny Smith <dannysmith@users.sourceforge.net>
* mingwex/gdtoa/strtopx.c (strtopx): Fix long double representation
of infinity.
2006-09-11 Christopher Faylor <cgf@timesys.com>
* Makefile.in: Semi-revert 2006-08-30 change.

View File

@ -87,7 +87,8 @@ __strtopx(CONST char *s, char **sp, void *V)
case STRTOG_Infinite:
L[_0] = 0x7fff;
L[_1] = L[_2] = L[_3] = L[_4] = 0;
L[_1] = 0x8000;
L[_2] = L[_3] = L[_4] = 0;
break;
case STRTOG_NaN: