Skip to content

Commit 4c2c55c

Browse files
committed
Fix function case
1 parent a9066de commit 4c2c55c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libc/src/__support/FPUtil/FloatProperties.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ template <> struct FPProperties<FPType::IEEE754_Binary128> {
139139
};
140140

141141
//-----------------------------------------------------------------------------
142-
template <typename FP> static constexpr FPType getFPType() {
142+
template <typename FP> static constexpr FPType get_fp_type() {
143143
if constexpr (cpp::is_same_v<FP, float> && __FLT_MANT_DIG__ == 24)
144144
return FPType::IEEE754_Binary32;
145145
else if constexpr (cpp::is_same_v<FP, double> && __DBL_MANT_DIG__ == 53)
@@ -169,7 +169,7 @@ template <typename FP> static constexpr FPType getFPType() {
169169
}
170170

171171
template <typename FP>
172-
struct FloatProperties : public FPProperties<getFPType<FP>()> {};
172+
struct FloatProperties : public FPProperties<get_fp_type<FP>()> {};
173173

174174
} // namespace fputil
175175
} // namespace LIBC_NAMESPACE

0 commit comments

Comments
 (0)