[nexuiz-commits] r8262 - trunk/data/qcsrc/common
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Mon Nov 9 02:36:49 EST 2009
Author: div0
Date: 2009-11-09 02:36:49 -0500 (Mon, 09 Nov 2009)
New Revision: 8262
Modified:
trunk/data/qcsrc/common/mathlib.qc
Log:
better isnan()
Modified: trunk/data/qcsrc/common/mathlib.qc
===================================================================
--- trunk/data/qcsrc/common/mathlib.qc 2009-11-09 07:30:08 UTC (rev 8261)
+++ trunk/data/qcsrc/common/mathlib.qc 2009-11-09 07:36:49 UTC (rev 8262)
@@ -40,7 +40,7 @@
}
int isnan(float x)
{
- return isunordered(x, x);
+ return !(x == x);
}
int isnormal(float x)
{
More information about the nexuiz-commits
mailing list