[libcxx-commits] [libcxx] [libc++] Avoid redeclaring lgamma_r (PR #153631)

Joseph Huber via libcxx-commits libcxx-commits at lists.llvm.org
Fri Sep 5 12:29:10 PDT 2025


jhuber6 wrote:

> > Is `lgamma_r` unconditionally provided? I think it would be really nice if we could get a private implementation from LLVM libc so that we can be thread-safe on every platform.
> 
> I do think it is unconditionally provided by llvm-libc. What you're thinking about is some kind of hand-in-hand like thing but just for that function?

I don't think we have a single generic implementation in llvm-libc yet, maybe @lntue has something.

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


More information about the libcxx-commits mailing list