HiveMind
Namespaces | Functions | Variables
Math.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 Math
 Namespace that provides basic mathematical operations. Optized for the platform.
 

Functions

float Math::cos (float x)
 calculate the cosine More...
 
float Math::sin (float x)
 calculate the sine More...
 
float Math::tan (float x)
 calculate the tangent More...
 
float Math::acos (float x)
 calculate the arc cosine More...
 
float Math::asin (float x)
 calculate the arc sine More...
 
float Math::atan (float x)
 calculate the arc tangent More...
 
float Math::atan2 (float y, float x)
 calculate the arc of x/y More...
 
float Math::pow (float base, float exponent)
 Calculates the base raised to the power of the exponent. More...
 
float Math::sqrt (float x)
 Calculates the square root. More...
 
float Math::cbrt (float x)
 Calculates the cube root. More...
 
float Math::exp (float x)
 Calculates the exponent. More...
 
float Math::ln (float x)
 Calculates the natural logarithm. More...
 
float Math::log10 (float x)
 Calculates the logarithm base 10. More...
 
float Math::log2 (float x)
 Calculates the logarithm base 2. More...
 
float Math::ceil (float x)
 Round x upward. More...
 
float Math::floor (float x)
 Floor x downward. More...
 
float Math::fmod (float numer, float denom)
 Calculates the remainder of numer/denom. More...
 
float Math::round (float x)
 Round x. More...
 
float Math::fdim (float x, float y)
 Returns the positive difference between x and y. More...
 
float Math::fmax (float x, float y)
 Return the larger of it's arguments, either x or y. More...
 
float Math::fmin (float x, float y)
 Return the minimum of it's arguments, either x or y. More...
 
float Math::fabs (float x)
 Return the absolute value. More...
 
int Math::abs (int x)
 Return the absolute value. More...
 

Variables

const float Math::pi = M_PI
 
const float Math::e = M_E