Skip to content

Commit 74a5c48

Browse files
committed
[libc][math] Enable math acos for baremetal Arm and AArch64
This patch adds `acos` to the entrypoints of baremetal Arm and AArch64. Tests have been run with Arm Toolchain for Embedded, a downstream toolchain, in conjunction with qemu, across several configurations of FPUs and architecture versions. All tests run are passing.
1 parent 55fb1ca commit 74a5c48

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

libc/config/baremetal/aarch64/entrypoints.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -321,6 +321,7 @@ set(TARGET_LIBM_ENTRYPOINTS
321321
libc.src.fenv.feupdateenv
322322

323323
# math.h entrypoints
324+
libc.src.math.acos
324325
libc.src.math.acosf
325326
libc.src.math.acoshf
326327
libc.src.math.asinf

libc/config/baremetal/arm/entrypoints.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -321,6 +321,7 @@ set(TARGET_LIBM_ENTRYPOINTS
321321
libc.src.fenv.feupdateenv
322322

323323
# math.h entrypoints
324+
libc.src.math.acos
324325
libc.src.math.acosf
325326
libc.src.math.acoshf
326327
libc.src.math.asinf

0 commit comments

Comments
 (0)