* mingwex/gdtoa/strtopx.c (strtopx): Fix (sic) infinity.
This commit is contained in:
parent
23754b33c3
commit
3e231d9a38
|
@ -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>
|
2006-09-11 Christopher Faylor <cgf@timesys.com>
|
||||||
|
|
||||||
* Makefile.in: Semi-revert 2006-08-30 change.
|
* Makefile.in: Semi-revert 2006-08-30 change.
|
||||||
|
|
|
@ -87,7 +87,8 @@ __strtopx(CONST char *s, char **sp, void *V)
|
||||||
|
|
||||||
case STRTOG_Infinite:
|
case STRTOG_Infinite:
|
||||||
L[_0] = 0x7fff;
|
L[_0] = 0x7fff;
|
||||||
L[_1] = L[_2] = L[_3] = L[_4] = 0;
|
L[_1] = 0x8000;
|
||||||
|
L[_2] = L[_3] = L[_4] = 0;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case STRTOG_NaN:
|
case STRTOG_NaN:
|
||||||
|
|
Loading…
Reference in New Issue