Commit 2043035e authored by Gregor Schneider's avatar Gregor Schneider Committed by Alexandre Julliard

msvcrt: Calculate floating point decimals in internally used long double precision.

parent b585b243
...@@ -266,7 +266,7 @@ _FUNCTION_ { ...@@ -266,7 +266,7 @@ _FUNCTION_ {
} }
/* handle decimals */ /* handle decimals */
if (width!=0 && nch == '.') { if (width!=0 && nch == '.') {
float dec = 1; long double dec = 1;
nch = _GETC_(file); nch = _GETC_(file);
if (width>0) width--; if (width>0) width--;
while (width!=0 && (nch!=_EOF_) && _ISDIGIT_(nch)) { while (width!=0 && (nch!=_EOF_) && _ISDIGIT_(nch)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment