[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:45:37 PDT 2024
================
@@ -231,15 +147,21 @@ LLVM_LIBC_FUNCTION(double, sin, (double x)) {
DoubleDouble sin_k_cos_y = fputil::quick_mult<NO_FMA>(cos_y, sin_k);
DoubleDouble cos_k_sin_y = fputil::quick_mult<NO_FMA>(sin_y, cos_k);
- FPBits sk_cy(sin_k_cos_y.hi);
- FPBits ck_sy(cos_k_sin_y.hi);
----------------
lntue wrote:
I don't know why there were no warnings for these unused variables.
https://github.com/llvm/llvm-project/pull/96591
More information about the libc-commits
mailing list