HDK
|
Go to the source code of this file.
Macros | |
#define | M_PI 3.14159265358979323846264338327950288 |
PI. More... | |
#define | M_PI_2 1.57079632679489661923132169163975144 |
PI / 2. More... | |
#define | M_PI_4 0.785398163397448309615660845819875721 |
PI / 4. More... | |
#define | M_TWO_PI (M_PI * 2.0) |
PI * 2. More... | |
#define | M_1_PI 0.318309886183790671537767526745028724 |
1/PI More... | |
#define | M_2_PI 0.636619772367581343075535053490057448 |
2/PI More... | |
#define | M_SQRT2 1.41421356237309504880168872420969808 |
sqrt(2) More... | |
#define | M_SQRT1_2 0.707106781186547524400844362104849039 |
1/sqrt(2) More... | |
#define | M_LN2 0.69314718055994530941723212145817656 |
ln(2) More... | |
#define | M_LN10 2.30258509299404568401799145468436421 |
ln(10) More... | |
#define | M_E 2.71828182845904523536028747135266250 |
e, Euler's number More... | |
#define | M_LOG2E 1.44269504088896340735992468100189214 |
log2(e) More... | |
This adds definitions we think should be in math.h, but which on on some platforms appears to be missing in action.
Definition in file missing_math.h.
#define M_1_PI 0.318309886183790671537767526745028724 |
1/PI
Definition at line 68 of file missing_math.h.
#define M_2_PI 0.636619772367581343075535053490057448 |
2/PI
Definition at line 73 of file missing_math.h.
#define M_E 2.71828182845904523536028747135266250 |
e, Euler's number
Definition at line 98 of file missing_math.h.
#define M_LN10 2.30258509299404568401799145468436421 |
ln(10)
Definition at line 93 of file missing_math.h.
#define M_LN2 0.69314718055994530941723212145817656 |
ln(2)
Definition at line 88 of file missing_math.h.
#define M_LOG2E 1.44269504088896340735992468100189214 |
log2(e)
Definition at line 103 of file missing_math.h.
#define M_PI 3.14159265358979323846264338327950288 |
PI.
Definition at line 48 of file missing_math.h.
#define M_PI_2 1.57079632679489661923132169163975144 |
PI / 2.
Definition at line 53 of file missing_math.h.
#define M_PI_4 0.785398163397448309615660845819875721 |
PI / 4.
Definition at line 58 of file missing_math.h.
#define M_SQRT1_2 0.707106781186547524400844362104849039 |
#define M_SQRT2 1.41421356237309504880168872420969808 |
sqrt(2)
Definition at line 78 of file missing_math.h.
#define M_TWO_PI (M_PI * 2.0) |
PI * 2.
Definition at line 63 of file missing_math.h.