#include <cmath>
#include <limits>
Go to the source code of this file.
Namespaces | |
namespace | WECore |
namespace | WECore::CoreMath |
Functions | |
template<typename T > | |
bool | WECore::CoreMath::compareFloatsEqual (T x, T y, T tolerance=std::numeric_limits< T >::epsilon()) |
double | WECore::CoreMath::linearTodB (double val) |
double | WECore::CoreMath::dBToLinear (double val) |
Variables | |
constexpr long double | WECore::CoreMath::LONG_PI {3.14159265358979323846264338327950288} |
constexpr double | WECore::CoreMath::DOUBLE_PI {static_cast<double>(LONG_PI)} |
constexpr long double | WECore::CoreMath::LONG_TAU {2 * LONG_PI} |
constexpr double | WECore::CoreMath::DOUBLE_TAU {static_cast<double>(LONG_TAU)} |
constexpr long double | WECore::CoreMath::LONG_E {2.71828182845904523536028747135266250} |
constexpr double | WECore::CoreMath::DOUBLE_E {static_cast<double>(LONG_E)} |
constexpr double | WECore::CoreMath::MINUS_INF_DB {-200} |