Closed arthurprs closed 2 years ago
The main change is to change patterns like current_position + something > max_position to max_position - current_position < something, which is overflow safe. Closes #49
current_position + something > max_position
max_position - current_position < something
Awesome, thanks for the PR!
The main change is to change patterns like
current_position + something > max_position
tomax_position - current_position < something
, which is overflow safe. Closes #49