]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/lib/float.qh
Merge branch 'master' into martin-t/globals
[xonotic/xonotic-data.pk3dir.git] / qcsrc / lib / float.qh
index fa4ff77b5a1fee7cfb7d6c4f8312999aec33e53c..b35494de44c0334f776d296f808565dd33af8be8 100644 (file)
@@ -2,4 +2,5 @@
 
 const float FLOAT_MAX = 340282346638528859811704183484516925440.0f;
 const float FLOAT_EPSILON = 0.00000011920928955078125f;
+/// Always use `isnan` function to compare because `float x = FLOAT_NAN; x == x;` gives true
 const float FLOAT_NAN = 0.0 / 0.0;