[libc-commits] [libc] [libc][math] Add missing math functions dfmal, dfmaf128 to math.yaml (PR #199485)
Arnav Mundada via libc-commits
libc-commits at lists.llvm.org
Sun May 24 23:39:58 PDT 2026
https://github.com/ArnavM21git created https://github.com/llvm/llvm-project/pull/199485
Part of https://github.com/llvm/llvm-project/issues/199266
Added missing math function entries to `libc/include/math.yaml`:
- dfmaf128
- dfmal
@Sukumarsawant
>From c6a19f597b041ce34efe88aaf524b048adcc33f3 Mon Sep 17 00:00:00 2001
From: Arnav Mundada <arnav.mundada at vit.edu.in>
Date: Mon, 25 May 2026 11:44:59 +0530
Subject: [PATCH] Add missing dfmaf128 and dfmal functions to math.yaml
---
libc/include/math.yaml | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/libc/include/math.yaml b/libc/include/math.yaml
index b87044e1f1533..78b393bb7edfc 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
+ arguments:
+ - type: float128
+ - type: float128
+ - type: float128
+ guard: LIBC_TYPES_HAS_FLOAT128
+ - name: dfmal
+ standards:
+ - stdc
+ return_type: double
+ arguments:
+ - type: long double
+ - type: long double
+ - type: long double
- name: dmulf128
standards:
- llvm_libc_ext
More information about the libc-commits
mailing list