[libcxx-commits] [libcxx] [libc++][math] Add `constexpr` to `copysign`, `copysignf`, `copysignl` (PR #216285)
Lucas Mellone via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Sep 16 03:39:00 PDT 2026
lknknm wrote:
> Sure. FWIW I'm pretty sure the only thing we need is for Clang to accept the current math builtins during constant evaluation in C++20 and from there we can implement the papers.
I really don't understand what do you mean here. Check `__builtin_copysign` for example, they are already enabled for constant evaluation as far as I can tell...
https://github.com/llvm/llvm-project/pull/216285
More information about the libcxx-commits
mailing list