summaryrefslogtreecommitdiffhomepage
path: root/compat/math-imports.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'compat/math-imports.hpp')
-rw-r--r--compat/math-imports.hpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/compat/math-imports.hpp b/compat/math-imports.hpp
index 4d8d5a5f..67b7e6ed 100644
--- a/compat/math-imports.hpp
+++ b/compat/math-imports.hpp
@@ -1,11 +1,5 @@
#pragma once
-template <typename T>
-static inline constexpr auto signum(T x)
-{
- return x < T(0) ? -1 : 1;
-}
-
#include <cmath>
using std::copysign;
@@ -51,3 +45,5 @@ using std::uint8_t;
using std::min;
using std::max;
+
+#include "math.hpp"