summaryrefslogtreecommitdiffstats
path: root/tests/fcpw/math-constants.slang
blob: e9bf4b3dba5c32172a52807bc20678e0ea3d7811 (plain)
1
2
3
4
5
6
7
implementing fcpw;

internal static const float M_PI = 3.14159265358979323846;   // pi
internal static const float M_PI_2 = 1.57079632679489661923; // pi/2
internal static const float FLT_MAX = 3.402823466e+38F;      // max float value
internal static const float FLT_EPSILON = 1.192092896e-07F;  // smallest float value such that 1.0+FLT_EPSILON != 1.0
internal static const uint UINT_MAX = 4294967295;            // max unsigned int value