[libc-commits] [libc] [libc][math] Add iscanonical functions to math.yaml (PR #199317)

via libc-commits libc-commits at lists.llvm.org
Fri May 22 22:38:37 PDT 2026


================
@@ -1588,6 +1588,44 @@ functions:
     return_type: int
     arguments:
       - type: long double
+  - name: iscanonical
+    standards:
+      - stdc
+    return_type: int
+    arguments:
+      - type: double
+  - name: iscanonicalbf16
+    standards:
+      - stdc
+    return_type: int
+    arguments:
+      - type: _Float16
+  - name: iscanonicalf
----------------
Sukumarsawant wrote:

```suggestion

```
we don't add bf16 functions to math.yaml yet

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


More information about the libc-commits mailing list