mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 04:08:55 +00:00
MathUtil: Remove IsNAN and IsINF
These aren't necessary, since the stdlib provides equivalents.
This commit is contained in:
parent
18d658df1f
commit
caec42135d
2 changed files with 0 additions and 25 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue