[libc-commits] [libc] [libc][math] Implement double precision cos correctly rounded to all rounding modes. (PR #96591)

via libc-commits libc-commits at lists.llvm.org
Tue Jun 25 10:44:14 PDT 2024


================
@@ -10,11 +10,9 @@
 #include "hdr/errno_macros.h"
 #include "src/__support/FPUtil/FEnvImpl.h"
 #include "src/__support/FPUtil/FPBits.h"
-#include "src/__support/FPUtil/PolyEval.h"
 #include "src/__support/FPUtil/double_double.h"
 #include "src/__support/FPUtil/dyadic_float.h"
 #include "src/__support/FPUtil/multiply_add.h"
-#include "src/__support/FPUtil/nearest_integer.h"
----------------
lntue wrote:

It is included in line 48, after we already include either `range_reduction_double_fma.h` or `range_reduction_nofma.h`, because the implementations in `range_reduction_double_common.h` needs `ONE_TWENTY_EIGHT_OVER_PI` selected from either of them.

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


More information about the libc-commits mailing list