mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 12:23:25 +00:00
[CRT]
- Replace isinf with !_finite and isnan with _isnan svn path=/trunk/; revision=50499
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user