[libc-commits] [libc] [libc] Fix compilation of new trig functions (PR #111987)

via libc-commits libc-commits at lists.llvm.org
Fri Oct 11 05:35:05 PDT 2024


================
@@ -278,7 +278,7 @@ struct LargeRangeReduction {
   DoubleDouble y_mid;
 };
 
-static Float128 range_reduction_small_f128(double x) {
+[[maybe_unused]] static Float128 range_reduction_small_f128(double x) {
----------------
lntue wrote:

Can you move the `ifndef` from line 303 to here?

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


More information about the libc-commits mailing list