mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-03-02 13:05:42 +08:00
Committed as obvious.
2008-05-22 Danny Smith <dannysmith@users.sourceforge.net> [ mingw-Bugs-1961893 ] * mingwex/gdtoa/mingw_snprint.c (x_sprintf): Always set __ldtoa mode to 2 for E format.
This commit is contained in:
parent
9ea50a60e1
commit
0b99028af4
@ -1,3 +1,9 @@
|
|||||||
|
2008-05-22 Danny Smith <dannysmith@users.sourceforge.net>
|
||||||
|
|
||||||
|
[ mingw-Bugs-1961893 ]
|
||||||
|
* mingwex/gdtoa/mingw_snprint.c (x_sprintf): Always set __ldtoa
|
||||||
|
mode to 2 for E format.
|
||||||
|
|
||||||
2008-05-15 Ramiro Polla <ramiro@lisha.ufsc.br>
|
2008-05-15 Ramiro Polla <ramiro@lisha.ufsc.br>
|
||||||
|
|
||||||
* include/stdlib.h: Fix strtod under C++.
|
* include/stdlib.h: Fix strtod under C++.
|
||||||
|
@ -840,7 +840,7 @@ x_sprintf
|
|||||||
}
|
}
|
||||||
if (prec < 0)
|
if (prec < 0)
|
||||||
prec = 0;
|
prec = 0;
|
||||||
s = s0 = __ldtoa(xx, prec ? 2 : 0, prec + 1, &decpt,
|
s = s0 = __ldtoa(xx, 2, prec + 1, &decpt,
|
||||||
&sgn, &se);
|
&sgn, &se);
|
||||||
if (decpt == -32768)
|
if (decpt == -32768)
|
||||||
goto fmt9999;
|
goto fmt9999;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user