From 285c75682f1e93a8809876ec7b2f6cd2cc79931d Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 26 Sep 2021 20:57:27 +0200 Subject: compat: remove crappy uround() --- compat/math.hpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'compat') diff --git a/compat/math.hpp b/compat/math.hpp index 1387324e..f05ebdc8 100644 --- a/compat/math.hpp +++ b/compat/math.hpp @@ -11,12 +11,6 @@ inline auto iround(t val) -> std::enable_if_t -inline auto uround(t val) -> std::enable_if_t>, unsigned> -{ - return (unsigned)std::fmax(0, std::round(val)); -} - template force_inline constexpr int signum(const t& x) -- cgit v1.2.3