mirror of
https://github.com/reactos/reactos.git
synced 2024-07-06 20:55:16 +00:00
[CRT]
- Replace isinf with !_finite and isnan with _isnan svn path=/trunk/; revision=50499
This commit is contained in:
parent
243ce74d82
commit
7cf49f4328
|
@ -42,7 +42,7 @@ int CDECL MSVCRT_I10_OUTPUT(long double ld, int prec, int flag, struct _I10_OUTP
|
|||
} else
|
||||
data->sign = ' ';
|
||||
|
||||
if(isinf(d)) {
|
||||
if(!_finite(d)) {
|
||||
data->pos = 1;
|
||||
data->len = 5;
|
||||
memcpy(data->str, inf_str, sizeof(inf_str));
|
||||
|
@ -50,7 +50,7 @@ int CDECL MSVCRT_I10_OUTPUT(long double ld, int prec, int flag, struct _I10_OUTP
|
|||
return 0;
|
||||
}
|
||||
|
||||
if(isnan(d)) {
|
||||
if(_isnan(d)) {
|
||||
data->pos = 1;
|
||||
data->len = 6;
|
||||
memcpy(data->str, nan_str, sizeof(nan_str));
|
||||
|
|
Loading…
Reference in a new issue