aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2018-09-27 00:05:25 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2018-09-27 00:05:25 +0800
commit2b2fad35566f0a3222010ea6606031770d85ad08 (patch)
treec4ae185cd8b1573ca96406f3bc424c26b44b02aa /docs
parenta17ca003ccd125f68ea7d472a2e006c64c1cc1b1 (diff)
downloaddexon-solidity-2b2fad35566f0a3222010ea6606031770d85ad08.tar
dexon-solidity-2b2fad35566f0a3222010ea6606031770d85ad08.tar.gz
dexon-solidity-2b2fad35566f0a3222010ea6606031770d85ad08.tar.bz2
dexon-solidity-2b2fad35566f0a3222010ea6606031770d85ad08.tar.lz
dexon-solidity-2b2fad35566f0a3222010ea6606031770d85ad08.tar.xz
dexon-solidity-2b2fad35566f0a3222010ea6606031770d85ad08.tar.zst
dexon-solidity-2b2fad35566f0a3222010ea6606031770d85ad08.zip
Rename remainder to modulo
Diffstat (limited to 'docs')
-rw-r--r--docs/types.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/types.rst b/docs/types.rst
index 3dc95ac2..16948ee3 100644
--- a/docs/types.rst
+++ b/docs/types.rst
@@ -51,7 +51,7 @@ Operators:
* Comparisons: ``<=``, ``<``, ``==``, ``!=``, ``>=``, ``>`` (evaluate to ``bool``)
* Bit operators: ``&``, ``|``, ``^`` (bitwise exclusive or), ``~`` (bitwise negation)
* Shift operators: ``<<`` (left shift), ``>>`` (right shift)
-* Arithmetic operators: ``+``, ``-``, unary ``-``, ``*``, ``/``, ``%`` (remainder), ``**`` (exponentiation)
+* Arithmetic operators: ``+``, ``-``, unary ``-``, ``*``, ``/``, ``%`` (modulo), ``**`` (exponentiation)
Comparisons
@@ -138,7 +138,7 @@ the type and ``N`` represents how many decimal points are available. ``M`` must
Operators:
* Comparisons: ``<=``, ``<``, ``==``, ``!=``, ``>=``, ``>`` (evaluate to ``bool``)
-* Arithmetic operators: ``+``, ``-``, unary ``-``, unary ``+``, ``*``, ``/``, ``%`` (remainder)
+* Arithmetic operators: ``+``, ``-``, unary ``-``, unary ``+``, ``*``, ``/``, ``%`` (modulo)
.. note::
The main difference between floating point (``float`` and ``double`` in many languages, more precisely IEEE 754 numbers) and fixed point numbers is