diff --git a/libc/src/__support/FPUtil/FloatProperties.h b/libc/src/__support/FPUtil/FloatProperties.h index 3be4b518be338..35d6a14a9d323 100644 --- a/libc/src/__support/FPUtil/FloatProperties.h +++ b/libc/src/__support/FPUtil/FloatProperties.h @@ -218,24 +218,6 @@ template <> struct FloatProperties { }; #endif // LIBC_COMPILER_HAS_FLOAT128 -// Define the float type corresponding to the BitsType. -template struct FloatType; - -template <> struct FloatType { - static_assert(sizeof(uint32_t) == sizeof(float), - "Unexpected size of 'float' type."); - typedef float Type; -}; - -template <> struct FloatType { - static_assert(sizeof(uint64_t) == sizeof(double), - "Unexpected size of 'double' type."); - typedef double Type; -}; - -template -using FloatTypeT = typename FloatType::Type; - } // namespace fputil } // namespace LIBC_NAMESPACE