Skip to main content

rotary_add/
lib.rs

1
2mod cycle;
3
4/// CycleAdd works on range from 0 to a a specified modulus. The max value is 1 less than the modulus
5/// with a 0-based system (e.g. minutes in an hour) 
6/// and the same as the modulus with a 1-based system (e.g. months in a year).
7
8pub use cycle::*;