msvcrt: Calculate floating point decimals in internally used long double precision.
This commit is contained in:
parent
b585b24397
commit
2043035e17
|
@ -266,7 +266,7 @@ _FUNCTION_ {
|
|||
}
|
||||
/* handle decimals */
|
||||
if (width!=0 && nch == '.') {
|
||||
float dec = 1;
|
||||
long double dec = 1;
|
||||
nch = _GETC_(file);
|
||||
if (width>0) width--;
|
||||
while (width!=0 && (nch!=_EOF_) && _ISDIGIT_(nch)) {
|
||||
|
|
Loading…
Reference in New Issue