Skip to content

Commit ea9bf21

Browse files
committed
[libc] fix build errors caused by atanhf16.
1 parent b7b501e commit ea9bf21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libc/src/__support/math/atanhf16.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ static constexpr float LOG_F_FLOAT[128] = {
109109
// x should be positive, normal finite value
110110
// TODO: Simplify range reduction and polynomial degree for float16.
111111
// See issue #137190.
112-
LIBC_INLINE static constexpr float log_eval_f(float x) {
112+
LIBC_INLINE static float log_eval_f(float x) {
113113
// For x = 2^ex * (1 + mx), logf(x) = ex * logf(2) + logf(1 + mx).
114114
using FPBits = fputil::FPBits<float>;
115115
FPBits xbits(x);

0 commit comments

Comments
 (0)