Merge pull request #9 from KyleSanderson/amtlutilloudness
Quell isNaN MSVC performance warning.
This commit is contained in:
commit
556d5e0949
@ -224,7 +224,7 @@ static inline bool
|
|||||||
IsNaN(double v)
|
IsNaN(double v)
|
||||||
{
|
{
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
return _isnan(v);
|
return !!_isnan(v);
|
||||||
#else
|
#else
|
||||||
return isnan(v);
|
return isnan(v);
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user