Personally I'd prefer to have that code with the precedence stated explicitly, just to avoid each person looking at it having to check:
leap = ((yOff % 4) == 0);
Personally I'd prefer to have that code with the precedence stated explicitly, just to avoid each person looking at it having to check:
leap = ((yOff % 4) == 0);