https://github.com/philnik777 commented: 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. https://github.com/llvm/llvm-project/pull/153631