The following math constants are supported in the XSI::MATH namespace:
static const double PI(3.14159265358979323846);
Represents the PI constant as a
double.
static const float PI2((float)PI*2.0f);
Represents the PI constant multiplied by
2 as a float.
static const float Invert2PI(0.5f/(float)PI);
Represents the PI constant inverted as a
float.
static const float MilliEPS(1.0e-03f);
Represents 0.001 as a float.
static const float MicroEPS(1.0e-06f);
Represents 0.000 001 as a float.
static const float NanoEPS(1.0e-09f);
Represents 0.000 000 001 as a float.
static const float PicoEPS(1.0e-012f);
Represents 0.000 000 000 001 as a float.