Skip to content

Commit 1508fdf

Browse files
committed
revert refactoring
1 parent b9f09e9 commit 1508fdf

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

libc/src/__support/CPP/type_traits/is_floating_point.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@ template <typename T> struct is_floating_point {
2424
}
2525

2626
public:
27-
LIBC_INLINE_VAR static constexpr bool value =
28-
__is_unqualified_any_of<T, float, double, long double
2927
#if defined(LIBC_COMPILER_HAS_FLOAT128)
30-
,
31-
float128
28+
LIBC_INLINE_VAR static constexpr bool value =
29+
__is_unqualified_any_of<T, float, double, long double, float128>();
30+
#else
31+
LIBC_INLINE_VAR static constexpr bool value =
32+
__is_unqualified_any_of<T, float, double, long double>();
3233
#endif // LIBC_COMPILER_HAS_FLOAT128
33-
>();
3434
};
3535
template <typename T>
3636
LIBC_INLINE_VAR constexpr bool is_floating_point_v =

0 commit comments

Comments
 (0)