From 4c04efb0dc1816154013af55c4cee1b88693bff2 Mon Sep 17 00:00:00 2001 From: bassiounix Date: Tue, 19 Aug 2025 02:16:38 +0300 Subject: [PATCH] [libc][math] fix coshf16 build errors. --- libc/src/__support/math/expxf16_utils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libc/src/__support/math/expxf16_utils.h b/libc/src/__support/math/expxf16_utils.h index 651ef12d8a59d..5d3bd3845a74f 100644 --- a/libc/src/__support/math/expxf16_utils.h +++ b/libc/src/__support/math/expxf16_utils.h @@ -25,7 +25,7 @@ namespace math { namespace expxf16_internal { -LIBC_INLINE static constexpr ExpRangeReduction exp2_range_reduction(float16 x) { +LIBC_INLINE static ExpRangeReduction exp2_range_reduction(float16 x) { // For -25 < x < 16, to compute 2^x, we perform the following range reduction: // find hi, mid, lo, such that: // x = hi + mid + lo, in which