From afbfd0e78176d47c495a29c795fbd3690fa0ded3 Mon Sep 17 00:00:00 2001 From: Steven Le Rouzic Date: Thu, 3 Apr 2025 23:18:51 +0200 Subject: Add numeric library --- asl/base/utility.hpp | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'asl/base/utility.hpp') diff --git a/asl/base/utility.hpp b/asl/base/utility.hpp index 77ccc6b..f371ab4 100644 --- a/asl/base/utility.hpp +++ b/asl/base/utility.hpp @@ -69,18 +69,6 @@ constexpr U bit_cast(T value) requires (sizeof(T) == sizeof(U)) return __builtin_bit_cast(U, value); } -template -constexpr T min(T a, T b) -{ - return (a <= b) ? a : b; -} - -template -constexpr T max(T a, T b) -{ - return (a >= b) ? a : b; -} - // NOLINTBEGIN(*-macro-parentheses) #define ASL_DELETE_COPY(T) \ T(const T&) = delete; \ -- cgit