Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
  • Loading branch information
wjblanke committed Oct 13, 2024
1 parent 4f1ca86 commit 90c0f3d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Reducer.h
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,7 @@ bool bLZCHasHW=false;

// The condition (abs(v_) | abs(x_)) <= THRESH protects against
// overflow
// must use llabs() as labs() is undefined for too large numbers
below_threshold = (llabs(v_) | llabs(x_)) <= THRESH ? 1 : 0;
} while (below_threshold && a > c && c > 0);

Expand Down

0 comments on commit 90c0f3d

Please sign in to comment.