[libc-commits] [libc] [libc][math] Fix Sollya command (PR #131091)
Tejas Vipin via libc-commits
libc-commits at lists.llvm.org
Thu Mar 13 00:44:28 PDT 2025
https://github.com/meltq created https://github.com/llvm/llvm-project/pull/131091
Fix a minor syntax error in the Sollya command in the comments of asinhf.
>From be9d57a7287c6a32dcfbb1e7e01344e604d8e138 Mon Sep 17 00:00:00 2001
From: meltq <alissxlace at proton.me>
Date: Thu, 13 Mar 2025 13:10:52 +0530
Subject: [PATCH] Fix Sollya command
---
libc/src/math/generic/asinhf.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libc/src/math/generic/asinhf.cpp b/libc/src/math/generic/asinhf.cpp
index 9cdb7b8394e9d..37b87a821222a 100644
--- a/libc/src/math/generic/asinhf.cpp
+++ b/libc/src/math/generic/asinhf.cpp
@@ -36,7 +36,7 @@ LLVM_LIBC_FUNCTION(float, asinhf, (float x)) {
double x_d = x;
double x_sq = x_d * x_d;
// Generated by Sollya with:
- // > P = fpminimax(asinh(x)/x, [|0, 2, 4, 6, 8, 10, 12, 14, 16], [|D...|],
+ // > P = fpminimax(asinh(x)/x, [|0, 2, 4, 6, 8, 10, 12, 14, 16|], [|D...|],
// [0, 2^-2]);
double p = fputil::polyeval(
x_sq, 0.0, -0x1.555555555551ep-3, 0x1.3333333325495p-4,
More information about the libc-commits
mailing list