[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
+ arguments:
+ - type: float
+ - type: long
+ - name: scalblnf16
+ standards:
+ - stdc
+ return_type: float16
+ arguments:
+ - type: float16
+ - type: long
+ guard: LIBC_HAS_TYPES_FLOAT16
+ - name: scalblnf128
+ standards:
+ - stdc
+ return_type: float128
+ arguments:
+ - type: float128
+ - type: long
+ guard: LIBC_HAS_TYPES_FLOAT128
----------------
overmighty wrote:
```suggestion
guard: LIBC_TYPES_HAS_FLOAT128
```
https://github.com/llvm/llvm-project/pull/102219
More information about the libc-commits
mailing list