From 1fce9f5a3d86d4fc3aa16c13559df98e1de5ef5b Mon Sep 17 00:00:00 2001 From: Rinzii Date: Thu, 4 Apr 2024 20:39:09 -0400 Subject: [PATCH] Minor adjustments to float type --- include/ccmath/internal/support/floating_point_bits.hpp | 4 ++-- include/ccmath/internal/types/uint128.hpp | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/include/ccmath/internal/support/floating_point_bits.hpp b/include/ccmath/internal/support/floating_point_bits.hpp index c9dc2767..bc86bbc1 100644 --- a/include/ccmath/internal/support/floating_point_bits.hpp +++ b/include/ccmath/internal/support/floating_point_bits.hpp @@ -60,7 +60,7 @@ namespace ccm::support template <> struct FPLayout { - using StorageType = ccm::uint128; + using StorageType = ccm::uint128_t; inline static constexpr int SIGN_LEN = 1; inline static constexpr int EXP_LEN = 15; inline static constexpr int SIG_LEN = 112; @@ -70,7 +70,7 @@ namespace ccm::support template <> struct FPLayout { - using StorageType = ccm::uint128; + using StorageType = ccm::uint128_t; inline static constexpr int SIGN_LEN = 1; inline static constexpr int EXP_LEN = 15; inline static constexpr int SIG_LEN = 64; diff --git a/include/ccmath/internal/types/uint128.hpp b/include/ccmath/internal/types/uint128.hpp index 66e22e69..7fc14203 100644 --- a/include/ccmath/internal/types/uint128.hpp +++ b/include/ccmath/internal/types/uint128.hpp @@ -7,11 +7,11 @@ namespace ccm { #ifdef CCM_HAS_INT128 - using uint128 = __uint128_t; - using int128 = __int128_t; + using uint128_t = __uint128_t; + using int128_t = __int128_t; #else - using uint128 = ccm::UInt<128>; - using int128 = ccm::Int<128>; + using uint128_t = ccm::UInt<128>; + using int128_t = ccm::Int<128>; #endif // CCM_HAS_INT128 } // namespace ccm