[libc][RISCV] Add log, log2, log1p, log10 for RISC-V64 entrypoints.
Add log, log2, log1p, log10 RISCV64 entrypoints.
Reviewed By: michaelrj, sivachandra
Differential Revision: https://reviews.llvm.org/D151674
GitOrigin-RevId: e557b8a14247ad58ec20ff82612de852155f77ad
diff --git a/config/linux/riscv64/entrypoints.txt b/config/linux/riscv64/entrypoints.txt
index c36a623..85e1364 100644
--- a/config/linux/riscv64/entrypoints.txt
+++ b/config/linux/riscv64/entrypoints.txt
@@ -286,9 +286,13 @@
libc.src.math.llround
libc.src.math.llroundf
libc.src.math.llroundl
+ libc.src.math.log10
libc.src.math.log10f
+ libc.src.math.log1p
libc.src.math.log1pf
+ libc.src.math.log2
libc.src.math.log2f
+ libc.src.math.log
libc.src.math.logf
libc.src.math.logb
libc.src.math.logbf
diff --git a/docs/math/index.rst b/docs/math/index.rst
index 40f1886..cd9909c 100644
--- a/docs/math/index.rst
+++ b/docs/math/index.rst
@@ -394,25 +394,25 @@
+------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+
| lgammal | | | | | | | | | | | | |
+------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+
-| log | |check| | |check| | | | |check| | | | |check| | | | | |
+| log | |check| | |check| | | |check| | |check| | | | |check| | | | | |
+------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+
| logf | |check| | |check| | | |check| | |check| | | | |check| | | | | |
+------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+
| logl | | | | | | | | | | | | |
+------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+
-| log10 | |check| | |check| | | | |check| | | | |check| | | | | |
+| log10 | |check| | |check| | | |check| | |check| | | | |check| | | | | |
+------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+
| log10f | |check| | |check| | | |check| | |check| | | | |check| | | | | |
+------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+
| log10l | | | | | | | | | | | | |
+------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+
-| log1p | |check| | |check| | | | |check| | | | |check| | | | | |
+| log1p | |check| | |check| | | |check| | |check| | | | |check| | | | | |
+------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+
| log1pf | |check| | |check| | | |check| | |check| | | | |check| | | | | |
+------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+
| log1pl | | | | | | | | | | | | |
+------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+
-| log2 | |check| | |check| | | | |check| | | | |check| | | | | |
+| log2 | |check| | |check| | | |check| | |check| | | | |check| | | | | |
+------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+
| log2f | |check| | |check| | | |check| | |check| | | | |check| | | | | |
+------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+