[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:08:16 PDT 2026


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

>From cdcde1711bf5258452b98585d2dcd0d847022ebf Mon Sep 17 00:00:00 2001
From: Arnav Mundada <arnav.mundada at vit.edu.in>
Date: Mon, 25 May 2026 11:34:38 +0530
Subject: [PATCH] [libc][math] Add missing math 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 36ff380a1b305..f536b7df4c52a 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



More information about the libc-commits mailing list