mirror of
https://git.code.sf.net/p/mingw-w64/mingw-w64
synced 2024-11-27 11:54:24 +08:00
2009-04-16 Ozkan Sezer <sezeroz@gmail.com>
* gdtoa/strtopx.c: All references I found indicate that the mainstream code is correct of the STRTOG_Infinite case. See, for example, http://docs.sun.com/source/819-3688/data.rep.app.html git-svn-id: svn+ssh://svn.code.sf.net/p/mingw-w64/code/trunk@800 4407c894-4637-0410-b4f5-ada5f102cad1
This commit is contained in:
parent
2c021be399
commit
8d9d6d402d
@ -1,5 +1,9 @@
|
||||
2009-04-16 Ozkan Sezer <sezeroz@gmail.com>
|
||||
|
||||
* gdtoa/strtopx.c: All references I found indicate that the
|
||||
mainstream code is correct of the STRTOG_Infinite case. See, for
|
||||
example, http://docs.sun.com/source/819-3688/data.rep.app.html
|
||||
|
||||
* gdtoa/gdtoaimp.h, gdtoa/gethex.c, gdtoa/strtodg.c: Defined a
|
||||
SET_ERRNO() macro for less ifdefs in actual C code.
|
||||
|
||||
|
@ -93,9 +93,7 @@ static int __strtopx (const char *s, char **sp, lD *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;
|
||||
L[_1] = L[_2] = L[_3] = L[_4] = 0;
|
||||
break;
|
||||
|
||||
case STRTOG_NaN:
|
||||
|
Loading…
Reference in New Issue
Block a user