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

via libc-commits libc-commits at lists.llvm.org
Thu Mar 13 04:36:11 PDT 2025


Author: Tejas Vipin
Date: 2025-03-13T07:36:06-04:00
New Revision: b910610eeaf14edc1b09e84d29930bd3459a02cc

URL: https://github.com/llvm/llvm-project/commit/b910610eeaf14edc1b09e84d29930bd3459a02cc
DIFF: https://github.com/llvm/llvm-project/commit/b910610eeaf14edc1b09e84d29930bd3459a02cc.diff

LOG: [libc][math] Fix Sollya command (#131091)

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

Added: 
    

Modified: 
    libc/src/math/generic/asinhf.cpp

Removed: 
    


################################################################################
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