]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/lib/float.qh
Merge branch 'master' into martin-t/globals
[xonotic/xonotic-data.pk3dir.git] / qcsrc / lib / float.qh
1 #pragma once
2
3 const float FLOAT_MAX = 340282346638528859811704183484516925440.0f;
4 const float FLOAT_EPSILON = 0.00000011920928955078125f;
5 /// Always use `isnan` function to compare because `float x = FLOAT_NAN; x == x;` gives true
6 const float FLOAT_NAN = 0.0 / 0.0;