aboutsummaryrefslogtreecommitdiff
path: root/libc/config
diff options
context:
space:
mode:
authorlntue <35648136+lntue@users.noreply.github.com>2024-06-25 16:51:31 -0400
committerGitHub <noreply@github.com>2024-06-25 16:51:31 -0400
commit88f80aeb0c626708017ea2d845e541e0e20f4d58 (patch)
tree727aaa76a8409ec8e076b7ec9ecaa5c0df8b1f34 /libc/config
parentef05b0322307318eb806c0bd4cdcdae9e31d477b (diff)
downloadllvm-88f80aeb0c626708017ea2d845e541e0e20f4d58.zip
llvm-88f80aeb0c626708017ea2d845e541e0e20f4d58.tar.gz
llvm-88f80aeb0c626708017ea2d845e541e0e20f4d58.tar.bz2
[libc][math] Implement double precision cos correctly rounded to all rounding modes. (#96591)
Sharing the same algorithm as double precision sin: https://github.com/llvm/llvm-project/pull/95736
Diffstat (limited to 'libc/config')
-rw-r--r--libc/config/darwin/arm/entrypoints.txt1
-rw-r--r--libc/config/linux/aarch64/entrypoints.txt1
-rw-r--r--libc/config/linux/arm/entrypoints.txt1
-rw-r--r--libc/config/linux/riscv/entrypoints.txt1
4 files changed, 4 insertions, 0 deletions
diff --git a/libc/config/darwin/arm/entrypoints.txt b/libc/config/darwin/arm/entrypoints.txt
index d486916..2843c46 100644
--- a/libc/config/darwin/arm/entrypoints.txt
+++ b/libc/config/darwin/arm/entrypoints.txt
@@ -130,6 +130,7 @@ set(TARGET_LIBM_ENTRYPOINTS
libc.src.math.ceilf
libc.src.math.ceill
libc.src.math.coshf
+ libc.src.math.cos
libc.src.math.cosf
libc.src.math.erff
libc.src.math.exp
diff --git a/libc/config/linux/aarch64/entrypoints.txt b/libc/config/linux/aarch64/entrypoints.txt
index a875a17..746cc67 100644
--- a/libc/config/linux/aarch64/entrypoints.txt
+++ b/libc/config/linux/aarch64/entrypoints.txt
@@ -344,6 +344,7 @@ set(TARGET_LIBM_ENTRYPOINTS
libc.src.math.ceilf
libc.src.math.ceill
libc.src.math.coshf
+ libc.src.math.cos
libc.src.math.cosf
libc.src.math.erff
libc.src.math.exp
diff --git a/libc/config/linux/arm/entrypoints.txt b/libc/config/linux/arm/entrypoints.txt
index 53cdcc3..6133ccf 100644
--- a/libc/config/linux/arm/entrypoints.txt
+++ b/libc/config/linux/arm/entrypoints.txt
@@ -218,6 +218,7 @@ set(TARGET_LIBM_ENTRYPOINTS
libc.src.math.copysign
libc.src.math.copysignf
libc.src.math.copysignl
+ libc.src.math.cos
libc.src.math.cosf
libc.src.math.coshf
libc.src.math.erff
diff --git a/libc/config/linux/riscv/entrypoints.txt b/libc/config/linux/riscv/entrypoints.txt
index 18968f5..70102a0 100644
--- a/libc/config/linux/riscv/entrypoints.txt
+++ b/libc/config/linux/riscv/entrypoints.txt
@@ -352,6 +352,7 @@ set(TARGET_LIBM_ENTRYPOINTS
libc.src.math.ceilf
libc.src.math.ceill
libc.src.math.coshf
+ libc.src.math.cos
libc.src.math.cosf
libc.src.math.erff
libc.src.math.exp