[libc-commits] [libc] [libc] Remove constexpr from math::exp10_range_reduction and math::exp. (PR #150653)

via libc-commits libc-commits at lists.llvm.org
Fri Jul 25 10:20:07 PDT 2025


================
@@ -234,7 +234,7 @@ static double set_exceptional(double x) {
 
 namespace math {
 
-static constexpr double exp(double x) {
+LIBC_INLINE static double exp(double x) {
----------------
lntue wrote:

It's for things other than inlining.  `constexpr` is implicitly `inline`.

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


More information about the libc-commits mailing list