Skip to content

Commit

Permalink
Merge pull request #4121 from pleroy/Clang
Browse files Browse the repository at this point in the history
Fix an error found by Clang
  • Loading branch information
pleroy authored Oct 26, 2024
2 parents 80e820e + 9e84ca3 commit 0170c93
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 0170c93

Please sign in to comment.