[Bug c++/116127] __builtin_lgamma(1.0e+0) is not a constant expression

2024-07-29 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116127 Jakub Jelinek changed: What|Removed |Added CC||redi at gcc dot gnu.org --- Comment #3

[Bug c++/116127] __builtin_lgamma(1.0e+0) is not a constant expression

2024-07-29 Thread tomerv at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116127 --- Comment #2 from Tomer Vromen --- Jakub, thanks for the quick answer! I see that this is a POSIX extension. I also see that according to cppreference, std::lgamma is "constexpr since C++26". I do wonder how that will work. Is there a conste

[Bug c++/116127] __builtin_lgamma(1.0e+0) is not a constant expression

2024-07-29 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116127 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|