Skip to content

Commit

Permalink
Comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
pleroy committed Jan 27, 2025
1 parent c5019e3 commit 1dc0634
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions numerics/sin_cos.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,8 @@ inline void Reduce(Argument const θ,
FusedMultiplyAdd<fma_policy>(abs_θ, (2 / π), mantissa_reduce_shifter) -
mantissa_reduce_shifter;

// Don't move the computation of `n` before the loop, it generates some
// extra moves.
// Don't move the computation of `n` after the if, it generates some extra
// moves.
Argument value;
std::int64_t n;
if constexpr (preserve_sign) {
Expand Down

0 comments on commit 1dc0634

Please sign in to comment.