[libc-commits] [libc] [libc] Add `lgamma` and `lgamma_r` stubs for the GPU (PR #102019)
via libc-commits
libc-commits at lists.llvm.org
Mon Aug 5 12:20:17 PDT 2024
================
@@ -2153,3 +2153,42 @@ functions:
- type: int
- type: unsigned int
guard: LIBC_TYPES_HAS_FLOAT128
+ - name: lgamma
+ standards:
+ - stdc
+ return_type: double
+ arguments:
+ - type: double
+ - name: lgammaf
+ standards:
+ - stdc
+ return_type: float
+ arguments:
+ - type: float
+ - name: lgammal
+ standards:
+ - stdc
+ return_type: long double
+ arguments:
+ - type: long double
+ - name: lgamma_r
+ standards:
+ - stdc
----------------
overmighty wrote:
I think it's a glibc extension actually.
https://github.com/llvm/llvm-project/pull/102019
More information about the libc-commits
mailing list