We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e426f6 commit 7501ad1Copy full SHA for 7501ad1
libc/src/__support/FPUtil/ManipulationFunctions.h
@@ -83,8 +83,8 @@ template <> struct IntLogbConstants<int> {
83
template <> struct IntLogbConstants<long> {
84
LIBC_INLINE_VAR static constexpr long FP_LOGB0 = FP_ILOGB0;
85
LIBC_INLINE_VAR static constexpr long FP_LOGBNAN = FP_ILOGBNAN;
86
- LIBC_INLINE_VAR static constexpr long T_MAX = INT_MAX;
87
- LIBC_INLINE_VAR static constexpr long T_MIN = INT_MIN;
+ LIBC_INLINE_VAR static constexpr long T_MAX = LONG_MAX;
+ LIBC_INLINE_VAR static constexpr long T_MIN = LONG_MIN;
88
};
89
90
template <typename T, typename U>
0 commit comments