From 8bcbd2729388edc63c82d77d314b583af1447c49 Mon Sep 17 00:00:00 2001 From: untodesu Date: Sun, 14 Sep 2025 19:16:44 +0500 Subject: Cleanup math with qfengine ports again --- core/math/concepts.hh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'core/math/concepts.hh') diff --git a/core/math/concepts.hh b/core/math/concepts.hh index 10cb74a..19d372c 100644 --- a/core/math/concepts.hh +++ b/core/math/concepts.hh @@ -2,10 +2,10 @@ namespace math { -template -concept Arithmetic = std::is_arithmetic_v; -template -concept Integer = std::is_integral_v; -template -concept FloatingPoint = std::is_floating_point_v; +template +concept arithmetic = std::is_arithmetic_v; +template +concept signed_arithmetic = std::is_arithmetic_v && std::is_signed_v; +template +concept unsigned_arithmetic = std::is_arithmetic_v && std::is_unsigned_v; } // namespace math -- cgit