Paul Lutus wrote:

> These two lines can be replaced with:
>
> degrees %= 360
>
> And the resulting method will run much faster if the degrees argument is
> large.

Got it. Thanks. ( the result of a % b will be >= 0 if b > 0 ... )