Skip to content

Commit 45386af

Browse files
committed
[libc][math][c23] Update for comments.
1 parent ce34bb7 commit 45386af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libc/src/math/generic/acoshf16.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ LLVM_LIBC_FUNCTION(float16, acoshf16, (float16 x)) {
8888
// dirtyinfnorm(acosh(1 + x) - sqrt(2*x) * P(x), [0, 0.25])
8989
// is:
9090
// 0x1.d84281p-22
91-
if (LIBC_UNLIKELY(x_u < 1.25f)) {
91+
if (LIBC_UNLIKELY(x_u < 0x3D00U)) {
9292
float delta = xf - 1.0f;
9393
float sqrt_2_delta = fputil::sqrt<float>(2.0 * delta);
9494
float pe = fputil::polyeval(delta, 0x1p+0f, -0x1.555556p-4f, 0x1.333334p-6f,

0 commit comments

Comments
 (0)