[libc-commits] [libc] [libc][math] Add scalbln{, f, l, f128} math functions (PR #102219)

via libc-commits libc-commits at lists.llvm.org
Thu Aug 8 10:04:47 PDT 2024


================
@@ -2200,6 +2200,43 @@ functions:
       - type: int
       - type: unsigned int
     guard: LIBC_TYPES_HAS_FLOAT128
+  - name: scalbln
+    standards: 
+      - stdc
+    return_type: double
+    arguments:
+      - type: double
+      - type: long
+  - name: scalblnl
+    standards:
+      - stdc
+    return_type: long double
+    arguments:
+      - type: long double
+      - type: long
+  - name: scalblnf
+    standards:
+      - stdc
+    return_type: long double
----------------
overmighty wrote:

```suggestion
    return_type: float
```


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


More information about the libc-commits mailing list