diff --git a/libc/src/__support/number_pair.h b/libc/src/__support/number_pair.h index 934f41806b5f30..ee6667b1299fe8 100644 --- a/libc/src/__support/number_pair.h +++ b/libc/src/__support/number_pair.h @@ -21,8 +21,8 @@ template struct NumberPair { }; template -cpp::enable_if_t && cpp::is_unsigned_v, NumberPair> -split(T a) { +cpp::enable_if_t && cpp::is_unsigned_v, + NumberPair> constexpr split(T a) { constexpr size_t HALF_BIT_WIDTH = sizeof(T) * 4; constexpr T LOWER_HALF_MASK = (T(1) << HALF_BIT_WIDTH) - T(1); NumberPair result;