diff options
Diffstat (limited to 'compat/math-imports.hpp')
| -rw-r--r-- | compat/math-imports.hpp | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/compat/math-imports.hpp b/compat/math-imports.hpp new file mode 100644 index 00000000..67b7e6ed --- /dev/null +++ b/compat/math-imports.hpp @@ -0,0 +1,49 @@ +#pragma once + +#include <cmath> + +using std::copysign; + +using std::sqrt; +using std::pow; + +using std::fabs; +using std::fmin; +using std::fmax; + +using std::atan; +using std::atan2; +using std::asin; +using std::acos; + +using std::sin; +using std::cos; +using std::tan; + +using std::round; +using std::fmod; + +using std::log; +using std::log2; +using std::log10; +using std::exp; + +#include <cinttypes> + +using std::uintptr_t; +using std::intptr_t; + +using std::int64_t; +using std::int32_t; +using std::int8_t; + +using std::uint64_t; +using std::uint32_t; +using std::uint8_t; + +#include <algorithm> + +using std::min; +using std::max; + +#include "math.hpp" |
