groovy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pascalschumac...@apache.org
Subject incubator-groovy git commit: Change modulo to remainder in operator page (closes #195)
Date Wed, 25 Nov 2015 17:40:27 GMT
Repository: incubator-groovy
Updated Branches:
  refs/heads/master 851fd58d7 -> de9970ff9


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/de9970ff
Tree: http://git-wip-us.apache.org/repos/asf/incubator-groovy/tree/de9970ff
Diff: http://git-wip-us.apache.org/repos/asf/incubator-groovy/diff/de9970ff

Branch: refs/heads/master
Commit: de9970ff9278e0151471827653c6ef4edc8412b5
Parents: 851fd58
Author: Xavier DETANT <xavier.detant@gmail.com>
Authored: Wed Nov 25 16:27:19 2015 +0100
Committer: pascalschumacher <pascalschumacher@gmx.net>
Committed: Wed Nov 25 18:39:48 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/de9970ff/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.
 |   | `[]` &#160; `++` &#160; `--` | list/map/array index, post inc/decrement
 | 2 | `**` | power
 | 3 | `++` &#160; `--` &#160; `+` &#160; `-` | pre inc/decrement, unary plus,
unary minus
-| 4 | `*` &#160; `/` &#160; `%` | multiply, div, modulo
+| 4 | `*` &#160; `/` &#160; `%` | multiply, div, remainder
 | 5 | `+` &#160; `-` | addition, subtraction
 | 6 | `<<` &#160; `>>` &#160; `>>>` &#160; `..` &#160;
`..<` | left/right (unsigned) shift, inclusive/exclusive range
 | 7 | `<` &#160; `\<=` &#160; `>` &#160; `>=` &#160; `in` &#160;
`instanceof` &#160; `as` | less/greater than/or equal, in, instanceof, type coercion


Mime
View raw message