Function BinaryHeap.RoundUpToNextMultipleMod1
RoundUpToNextMultipleMod1
(int v)
Rounds up v so that it has remainder 1 when divided by D.
Public
Static
int RoundUpToNextMultipleMod1 (
int | v |
Rounds up v so that it has remainder 1 when divided by D.
I.e it is of the form n*D + 1 where n is any non-negative integer.