diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2018-09-27 00:05:25 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2018-09-27 00:05:25 +0800 |
commit | 2b2fad35566f0a3222010ea6606031770d85ad08 (patch) | |
tree | c4ae185cd8b1573ca96406f3bc424c26b44b02aa | |
parent | a17ca003ccd125f68ea7d472a2e006c64c1cc1b1 (diff) | |
download | dexon-solidity-2b2fad35566f0a3222010ea6606031770d85ad08.tar.gz dexon-solidity-2b2fad35566f0a3222010ea6606031770d85ad08.tar.zst dexon-solidity-2b2fad35566f0a3222010ea6606031770d85ad08.zip |
Rename remainder to modulo
-rw-r--r-- | docs/types.rst | 4 |
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 |