[libc-commits] [libc] [libc][math] Improve performance of double precision trig functions. (PR #111793)

via libc-commits libc-commits at lists.llvm.org
Thu Oct 10 11:58:30 PDT 2024


================
@@ -48,6 +48,16 @@ LIBC_INLINE constexpr bool expects_bool_condition(T value, T expected) {
 
 #ifndef LIBC_MATH
 #define LIBC_MATH 0
+#else
+
+#if ((LIBC_MATH & LIBC_MATH_SKIP_ACCURATE_PASS) != 0)
----------------
lntue wrote:

Done.

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


More information about the libc-commits mailing list