[libc-commits] [libc] [libc][math] Add double-precision acosh, asinh, atanh, cosh, sinh, tanh (PR #199442)
Aayush Shrivastava via libc-commits
libc-commits at lists.llvm.org
Sun May 24 13:31:24 PDT 2026
- Previous message: [libc-commits] [libc] [libc][math] Add double-precision acosh, asinh, atanh, cosh, sinh, tanh (PR #199442)
- Next message: [libc-commits] [libc] [libc][math] Add double-precision acosh, asinh, atanh, cosh, sinh, tanh (PR #199442)
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
https://github.com/iamaayushrivastava updated https://github.com/llvm/llvm-project/pull/199442
>From c8168d2a9db5fe52923cf7feb21cd08c828a15e9 Mon Sep 17 00:00:00 2001
From: Aayush Shrivastava <iamaayushrivastava at gmail.com>
Date: Mon, 25 May 2026 02:00:57 +0530
Subject: [PATCH] [libc][math] Add missing math.yaml entries for acospif and
atan2f16
---
libc/include/math.yaml | 16 +++++++++++++++-
1 file changed, 15 insertions(+), 1 deletion(-)
diff --git a/libc/include/math.yaml b/libc/include/math.yaml
index e50be8f05cc65..ebf1b524520a8 100644
--- a/libc/include/math.yaml
+++ b/libc/include/math.yaml
@@ -40,6 +40,12 @@ functions:
arguments:
- type: _Float16
guard: LIBC_TYPES_HAS_FLOAT16
+ - name: acospif
+ standards:
+ - stdc
+ return_type: float
+ arguments:
+ - type: float
- name: acospif16
standards:
- stdc
@@ -133,6 +139,14 @@ functions:
- type: float128
- type: float128
guard: LIBC_TYPES_HAS_FLOAT128
+ - name: atan2f16
+ standards:
+ - stdc
+ return_type: _Float16
+ arguments:
+ - type: _Float16
+ - type: _Float16
+ guard: LIBC_TYPES_HAS_FLOAT16
- name: atanf
standards:
- stdc
@@ -153,7 +167,7 @@ functions:
arguments:
- type: float
- name: atanhf16
- standatds:
+ standards:
- stdc
return_type: _Float16
arguments:
- Previous message: [libc-commits] [libc] [libc][math] Add double-precision acosh, asinh, atanh, cosh, sinh, tanh (PR #199442)
- Next message: [libc-commits] [libc] [libc][math] Add double-precision acosh, asinh, atanh, cosh, sinh, tanh (PR #199442)
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the libc-commits
mailing list