Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 18ff5e6 commit 872af73Copy full SHA for 872af73
1 file changed
src/MPL_isnan.h
@@ -73,10 +73,10 @@ typedef long long MPL_Int64;
73
#if !defined(MPL_notisfinite64)
74
#if !defined(_MSC_VER)
75
#define MPL_notisfinite64(u) \
76
- ( (( MPL_U64(u) & 0x7ff0000000000000LL) != 0x7ff0000000000000LL)) ? 0:1
+ ( (( MPL_U64(u) & 0x7ff0000000000000LL) == 0x7ff0000000000000LL)) ? 1:0
77
#else
78
79
- ( (( MPL_U64(u) & 0x7ff0000000000000i64) != 0x7ff0000000000000i64)) ? 0:1
+ ( (( MPL_U64(u) & 0x7ff0000000000000i64) == 0x7ff0000000000000i64)) ? 1:0
80
#endif
81
#endif /* MPL_notisfinite64 */
82
0 commit comments