[libc-commits] [libc] [libc][math] Add missing math functions dfmal, dfmaf128 to math.yaml (PR #199485)

via libc-commits libc-commits at lists.llvm.org
Sun May 24 23:40:55 PDT 2026


llvmorg-github-actions[bot] wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-libc

Author: Arnav Mundada (ArnavM21git)

<details>
<summary>Changes</summary>

Part of https://github.com/llvm/llvm-project/issues/199266

Added missing math function entries to `libc/include/math.yaml`:

-  dfmaf128
-  dfmal

@<!-- -->Sukumarsawant


---
Full diff: https://github.com/llvm/llvm-project/pull/199485.diff


1 Files Affected:

- (modified) libc/include/math.yaml (+17) 


``````````diff
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

``````````

</details>


https://github.com/llvm/llvm-project/pull/199485


More information about the libc-commits mailing list