#include <cmath>
#include <limits>
Go to the source code of this file.
|
template<typename T > |
CONSTEXPR bool | are_equal (const T &a, const T &b, const T &eps) |
|
CONSTEXPR bool | are_equal (double a, double b) |
|
bool | are_ordered (double a, double b, double c) |
|
bool | are_strictly_ordered (double a, double b, double c) |
|
double | bound_value (double left, double v, double right) |
|
constexpr double | deg2rad (double angle_deg) |
|
template<unsigned N> |
CONSTEXPR int | ge_pow (int i) |
|
CONSTEXPR bool | is_multiple_of (double value, double factor) |
|
CONSTEXPR bool | less (double a, double b) |
|
bool | less_or_equal (double a, double b) |
|
constexpr double | rad2deg (double angle_rad) |
|
template<typename T >
CONSTEXPR bool are_equal |
( |
const T & |
a, |
|
|
const T & |
b, |
|
|
const T & |
eps |
|
) |
| |
|
inline |
CONSTEXPR bool are_equal |
( |
double |
a, |
|
|
double |
b |
|
) |
| |
|
inline |
bool are_ordered |
( |
double |
a, |
|
|
double |
b, |
|
|
double |
c |
|
) |
| |
|
inline |
bool are_strictly_ordered |
( |
double |
a, |
|
|
double |
b, |
|
|
double |
c |
|
) |
| |
|
inline |
double bound_value |
( |
double |
left, |
|
|
double |
v, |
|
|
double |
right |
|
) |
| |
|
inline |
constexpr double deg2rad |
( |
double |
angle_deg | ) |
|
|
inline |
CONSTEXPR bool is_multiple_of |
( |
double |
value, |
|
|
double |
factor |
|
) |
| |
|
inline |
bool less_or_equal |
( |
double |
a, |
|
|
double |
b |
|
) |
| |
|
inline |
constexpr double rad2deg |
( |
double |
angle_rad | ) |
|
|
inline |