[libc-commits] [libc] [libc][math] Optimize copysign{, f, f16} and fabs{, f, f16} with builtins when available (PR #99037)

via libc-commits libc-commits at lists.llvm.org
Mon Jul 22 08:30:34 PDT 2024


================
@@ -10,6 +10,7 @@
 #include "src/__support/macros/config.h"
 #include "test/src/math/performance_testing/Timer.h"
 
+#include <algorithm>
----------------
lntue wrote:

use `src/__support/CPP/algorithm.h` for `min/max` instead.

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


More information about the libc-commits mailing list