The Math struct Mathematische Hilfsfunktionen.
More...
#include <xmath.h>
|
| static double | to_radians (double x) |
| |
| static double | to_degrees (double x) |
| |
| static bool | is_zero (double x, double epsilon) |
| |
| static int | cmp (double x, double y, double epsilon) |
| |
| static int | sign (double x) |
| |
|
| static constexpr double | PI = M_PI |
| |
| static constexpr double | E = M_E |
| |
The Math struct Mathematische Hilfsfunktionen.
Definition at line 9 of file xmath.h.
◆ cmp()
| static int nmx::Math::cmp |
( |
double |
x, |
|
|
double |
y, |
|
|
double |
epsilon |
|
) |
| |
|
inlinestatic |
◆ is_zero()
| static bool nmx::Math::is_zero |
( |
double |
x, |
|
|
double |
epsilon |
|
) |
| |
|
inlinestatic |
◆ sign()
| static int nmx::Math::sign |
( |
double |
x | ) |
|
|
inlinestatic |
◆ to_degrees()
| static double nmx::Math::to_degrees |
( |
double |
x | ) |
|
|
inlinestatic |
◆ to_radians()
| static double nmx::Math::to_radians |
( |
double |
x | ) |
|
|
inlinestatic |
| constexpr double nmx::Math::E = M_E |
|
inlinestatic |
◆ PI
| constexpr double nmx::Math::PI = M_PI |
|
inlinestatic |
The documentation for this struct was generated from the following file: