Skip to content

Commit

Permalink
Fix an error found by Clang.
Browse files Browse the repository at this point in the history
  • Loading branch information
pleroy committed Oct 26, 2024
1 parent c9d3458 commit 9e84ca3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions numerics/sin_cos.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,6 @@ double DetectDangerousRounding(double const x, double const Δx) {
double const& error = sum.error;
__m128i const value_exponent_128i =
_mm_castpd_si128(_mm_and_pd(masks::exponent_bits, _mm_set_sd(value)));
double const value_exponent =
_mm_cvtsd_f64(_mm_castsi128_pd(value_exponent_128i));
__m128i const error_128i =
_mm_castpd_si128(_mm_andnot_pd(masks::sign_bit, _mm_set_sd(error)));
double const normalized_error = _mm_cvtsd_f64(
Expand Down

0 comments on commit 9e84ca3

Please sign in to comment.