diff options
Diffstat (limited to 'Source/Core/Common/MathUtil.h')
| -rw-r--r-- | Source/Core/Common/MathUtil.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/Source/Core/Common/MathUtil.h b/Source/Core/Common/MathUtil.h index 1efeca4066..c9bd3e09b4 100644 --- a/Source/Core/Common/MathUtil.h +++ b/Source/Core/Common/MathUtil.h @@ -56,19 +56,6 @@ union IntFloat { explicit IntFloat(float _f) : f(_f) {} }; -inline bool IsINF(double d) -{ - IntDouble x(d); - return (x.i & ~DOUBLE_SIGN) == DOUBLE_EXP; -} - -inline bool IsNAN(double d) -{ - IntDouble x(d); - return ((x.i & DOUBLE_EXP) == DOUBLE_EXP) && - ((x.i & DOUBLE_FRAC) != DOUBLE_ZERO); -} - inline bool IsQNAN(double d) { IntDouble x(d); |
