[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:59:12 PDT 2024


================
@@ -73,6 +73,26 @@ template <size_t N = 27> LIBC_INLINE constexpr DoubleDouble split(double a) {
   return r;
 }
 
+// Helper for non-fma exact mult where the first number is already splitted.
+template <bool NO_FMA_ALL_ROUNDINGS = false>
----------------
lntue wrote:

Changed the template to pass the splitting constant explicitly.

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


More information about the libc-commits mailing list