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>
|
||||
|
||||
* include/stdlib.h: Fix strtod under C++.
|
||||
|
|
|
@ -840,7 +840,7 @@ x_sprintf
|
|||
}
|
||||
if (prec < 0)
|
||||
prec = 0;
|
||||
s = s0 = __ldtoa(xx, prec ? 2 : 0, prec + 1, &decpt,
|
||||
s = s0 = __ldtoa(xx, 2, prec + 1, &decpt,
|
||||
&sgn, &se);
|
||||
if (decpt == -32768)
|
||||
goto fmt9999;
|
||||
|
|
Loading…
Reference in New Issue