Repository: incubator-groovy Updated Branches: refs/heads/GROOVY_2_4_X a00311187 -> b1cda830e
Change modulo to remainder in operator page (closes #195) Project: http://git-wip-us.apache.org/repos/asf/incubator-groovy/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-groovy/commit/b1cda830 Tree: http://git-wip-us.apache.org/repos/asf/incubator-groovy/tree/b1cda830 Diff: http://git-wip-us.apache.org/repos/asf/incubator-groovy/diff/b1cda830 Branch: refs/heads/GROOVY_2_4_X Commit: b1cda830ee28fa5af86f1f26caa3194d40e9405f Parents: a003111 Author: Xavier DETANT <xavier.det...@gmail.com> Authored: Wed Nov 25 16:27:19 2015 +0100 Committer: pascalschumacher <pascalschumac...@gmx.net> Committed: Wed Nov 25 18:40:59 2015 +0100 ---------------------------------------------------------------------- src/spec/doc/core-operators.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/b1cda830/src/spec/doc/core-operators.adoc ---------------------------------------------------------------------- diff --git a/src/spec/doc/core-operators.adoc b/src/spec/doc/core-operators.adoc index d023122..7794454 100644 --- a/src/spec/doc/core-operators.adoc +++ b/src/spec/doc/core-operators.adoc @@ -56,7 +56,7 @@ The following binary arithmetic operators are available in Groovy: | Use `intdiv()` for integer division, and see the section about <<core-syntax.adoc#integer_division,integer division>> for more information on the return type of the division. | `%` -| modulo +| remainder | | `**` @@ -679,7 +679,7 @@ The table below lists all groovy operators in order of precedence. | | `[]`   `++`   `--` | list/map/array index, post inc/decrement | 2 | `**` | power | 3 | `++`   `--`   `+`   `-` | pre inc/decrement, unary plus, unary minus -| 4 | `*`   `/`   `%` | multiply, div, modulo +| 4 | `*`   `/`   `%` | multiply, div, remainder | 5 | `+`   `-` | addition, subtraction | 6 | `<<`   `>>`   `>>>`   `..`   `..<` | left/right (unsigned) shift, inclusive/exclusive range | 7 | `<`   `\<=`   `>`   `>=`   `in`   `instanceof`   `as` | less/greater than/or equal, in, instanceof, type coercion