[libc-commits] [libc] [libc][math] Fix Sollya command (PR #131091)

via libc-commits libc-commits at lists.llvm.org
Thu Mar 13 00:45:02 PDT 2025


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-libc

Author: Tejas Vipin (meltq)

<details>
<summary>Changes</summary>

Fix a minor syntax error in the Sollya command in the comments of asinhf.

---
Full diff: https://github.com/llvm/llvm-project/pull/131091.diff


1 Files Affected:

- (modified) libc/src/math/generic/asinhf.cpp (+1-1) 


``````````diff
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,

``````````

</details>


https://github.com/llvm/llvm-project/pull/131091


More information about the libc-commits mailing list