[libc] [llvm] [libc][math] Refactor exp implementation to header-only in src/__support/math folder. (PR #148761)

Muhammad Bassiouni via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 15 08:25:15 PDT 2025


================
@@ -47,7 +47,7 @@ struct ExpRangeReduction {
   float exp_lo;
 };
 
-static constexpr ExpRangeReduction exp_range_reduction(float16 x) {
+[[gnu::unused]] static ExpRangeReduction exp_range_reduction(float16 x) {
----------------
bassiounix wrote:

The compiler didn't complain about it, so I didn't add it

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


More information about the llvm-commits mailing list