[libc-commits] [libc] [libc][math] Added missing gamma, error, and fma entries to math.yaml (PR #199340)

Arnav Mundada via libc-commits libc-commits at lists.llvm.org
Sun May 24 23:18:24 PDT 2026


https://github.com/ArnavM21git updated https://github.com/llvm/llvm-project/pull/199340

>From 23536b74fc77d6a5f3f9efbbcea1c07cc6fc9c55 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