We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In epochArithmeticMod in utilities.dart, there is a repeated if statement. Is it meant to be y in the second one?
epochArithmeticMod
utilities.dart
if
y
/// This returns a pattern consistent with epoch (or calendar) based times /// [-5, -4, -3, -2, -1, 0, 1, 2, 3, 4, 5] /// [ 1, 2, 0, 1, 2, 0, 1, 2, 0, 1, 2] int epochArithmeticMod(num x, int y) { if (x >= 0) return x % y; if (x >= 0) return x % y; return -(y-x)%y; }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In
epochArithmeticMod
inutilities.dart
, there is a repeatedif
statement. Is it meant to bey
in the second one?The text was updated successfully, but these errors were encountered: