summaryrefslogtreecommitdiff
path: root/Source/Core/Common
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2015-08-21 15:05:11 -0400
committerLioncash <mathew1800@gmail.com>2015-08-21 15:05:43 -0400
commitcaec42135d9b47881574625b341a6730820a2ff7 (patch)
treeaecf88c92881be4e88264324a0fb8ae78e324c6a /Source/Core/Common
parent18d658df1fd9602a3620fc8581462c6b54ae635d (diff)
MathUtil: Remove IsNAN and IsINF
These aren't necessary, since the stdlib provides equivalents.
Diffstat (limited to 'Source/Core/Common')
-rw-r--r--Source/Core/Common/MathUtil.h13
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);