Go to the documentation of this file.
46 float atan2(
float y,
float x);
52 float pow(
float base,
float exponent);
98 float fmod(
float numer,
float denom);
103 float round(
float x);
109 float fdim(
float x,
float y);
115 float fmax(
float x,
float y);
121 float fmin(
float x,
float y);
float log10(float x)
Calculates the logarithm base 10.
Definition: Math.cpp:32
float ln(float x)
Calculates the natural logarithm.
Definition: Math.cpp:30
float fmin(float x, float y)
Return the minimum of it's arguments, either x or y.
Definition: Math.cpp:48
float fabs(float x)
Return the absolute value.
Definition: Math.cpp:50
float floor(float x)
Floor x downward.
Definition: Math.cpp:38
float ceil(float x)
Round x upward.
Definition: Math.cpp:36
float tan(float x)
calculate the tangent
Definition: Math.cpp:12
float round(float x)
Round x.
Definition: Math.cpp:42
float asin(float x)
calculate the arc sine
Definition: Math.cpp:16
float cos(float x)
calculate the cosine
Definition: Math.cpp:8
int abs(int x)
Return the absolute value.
Definition: Math.cpp:52
float fmax(float x, float y)
Return the larger of it's arguments, either x or y.
Definition: Math.cpp:46
float acos(float x)
calculate the arc cosine
Definition: Math.cpp:14
float fdim(float x, float y)
Returns the positive difference between x and y.
Definition: Math.cpp:44
float atan2(float y, float x)
calculate the arc of x/y
Definition: Math.cpp:20
float log2(float x)
Calculates the logarithm base 2.
Definition: Math.cpp:34
const float e
Definition: Math.cpp:6
float atan(float x)
calculate the arc tangent
Definition: Math.cpp:18
float pow(float base, float exponent)
Calculates the base raised to the power of the exponent.
Definition: Math.cpp:22
float cbrt(float x)
Calculates the cube root.
Definition: Math.cpp:26
const float pi
Definition: Math.cpp:4
Namespace that provides basic mathematical operations. Optized for the platform.
Definition: Math.h:6
float fmod(float numer, float denom)
Calculates the remainder of numer/denom.
Definition: Math.cpp:40
float sin(float x)
calculate the sine
Definition: Math.cpp:10
float sqrt(float x)
Calculates the square root.
Definition: Math.cpp:24
float exp(float x)
Calculates the exponent.
Definition: Math.cpp:28