[libc-commits] [libc] [baremetal] Add atan2 to baremetal (PR #101767)

via libc-commits libc-commits at lists.llvm.org
Fri Aug 2 15:58:23 PDT 2024


https://github.com/PiJoules updated https://github.com/llvm/llvm-project/pull/101767

>From 62740da1911e19a50e39377e248b1e569191093b Mon Sep 17 00:00:00 2001
From: Leonard Chan <leonardchan at google.com>
Date: Fri, 2 Aug 2024 15:54:49 -0700
Subject: [PATCH] [baremetal] Add atan2 to baremetal

---
 libc/config/baremetal/arm/entrypoints.txt   | 1 +
 libc/config/baremetal/riscv/entrypoints.txt | 1 +
 2 files changed, 2 insertions(+)

diff --git a/libc/config/baremetal/arm/entrypoints.txt b/libc/config/baremetal/arm/entrypoints.txt
index ef145e994a3d1..372623b3df73a 100644
--- a/libc/config/baremetal/arm/entrypoints.txt
+++ b/libc/config/baremetal/arm/entrypoints.txt
@@ -233,6 +233,7 @@ set(TARGET_LIBM_ENTRYPOINTS
     libc.src.math.asinf
     libc.src.math.asinhf
     libc.src.math.atan2f
+    libc.src.math.atan2
     libc.src.math.atanf
     libc.src.math.atanhf
     libc.src.math.canonicalize
diff --git a/libc/config/baremetal/riscv/entrypoints.txt b/libc/config/baremetal/riscv/entrypoints.txt
index be41f9a13aac2..6bf7d933f316e 100644
--- a/libc/config/baremetal/riscv/entrypoints.txt
+++ b/libc/config/baremetal/riscv/entrypoints.txt
@@ -229,6 +229,7 @@ set(TARGET_LIBM_ENTRYPOINTS
     libc.src.math.asinf
     libc.src.math.asinhf
     libc.src.math.atan2f
+    libc.src.math.atan2
     libc.src.math.atanf
     libc.src.math.atanhf
     libc.src.math.canonicalize



More information about the libc-commits mailing list