[libc-commits] [libc] Libc add missing math yaml functions (PR #199340)
via libc-commits
libc-commits at lists.llvm.org
Sat May 23 03:54:03 PDT 2026
llvmorg-github-actions[bot] wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-libc
Author: Arnav Mundada (ArnavM21git)
<details>
<summary>Changes</summary>
---
Full diff: https://github.com/llvm/llvm-project/pull/199340.diff
1 Files Affected:
- (modified) libc/include/math.yaml (+35)
``````````diff
diff --git a/libc/include/math.yaml b/libc/include/math.yaml
index 36ff380a1b305..bfe2790bafbed 100644
--- a/libc/include/math.yaml
+++ b/libc/include/math.yaml
@@ -359,6 +359,23 @@ functions:
arguments:
- type: long double
- type: long double
+ - name: dfmaf128
+ standards:
+ - stdc
+ return_type: double
+ arguements:
+ - type: float128
+ - type: float128
+ - type: float128
+ guard: LIBC_TYPES_HAS_FLOAT128
+ - name: dfmal
+ standards:
+ - stdc
+ return_type: double
+ arguements:
+ - type: long double
+ - type: long double
+ - type: long double
- name: dmulf128
standards:
- llvm_libc_ext
@@ -402,6 +419,12 @@ functions:
arguments:
- type: long double
- type: long double
+ - name: erf
+ standards:
+ - stdc
+ return_type: double
+ arguements:
+ - type: double
- name: erff
standards:
- stdc
@@ -2698,6 +2721,18 @@ functions:
arguments:
- type: _Float16
guard: LIBC_TYPES_HAS_FLOAT16
+ - name: tgamma
+ standards:
+ - stdc
+ return_type: double
+ arguements:
+ - type: double
+ - name: tgammaf
+ standards:
+ - stdc
+ return_type: float
+ arguements:
+ - type: float
- name: totalorder
standards:
- stdc
``````````
</details>
https://github.com/llvm/llvm-project/pull/199340
More information about the libc-commits
mailing list