From d361f57c8064ce13a0478653050b169dc94e2e99 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Thu, 18 Jan 2018 19:35:08 +0100 Subject: compat/util: retire Adjust usages. --- compat/round.hpp | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 compat/round.hpp (limited to 'compat/round.hpp') diff --git a/compat/round.hpp b/compat/round.hpp deleted file mode 100644 index 90a0ccb3..00000000 --- a/compat/round.hpp +++ /dev/null @@ -1,15 +0,0 @@ -#pragma once - -#include - -template -inline int iround(const t& val) -{ - return int(std::round(val)); -} - -template -inline unsigned uround(const t& val) -{ - return std::round(std::fmax(t(0), val)); -} -- cgit v1.2.3