-
-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Description
We have +, -, * and /, but no % for modulo/remainder. We should probably add that!
- We do have to decide what to do with negative values. E.g. is
-5 % 3equal to-2or1. Rust does-2and Python says1. The operation returning1is instead calledrem_euclidin Rust. - The
%must have the same precedence as the*and/operators.
I think this could be implemented as a good first issue, because it's mostly looking at what happens with the other operators, but it's not trivial.
LevitatingBusinessMan
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers