diff options
author | James Ray <james.ray0001@gmail.com> | 2017-06-12 16:02:30 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-12 16:02:30 +0800 |
commit | 09a77de8ab1172ad52a6e2ed46c6f562ba9f11cb (patch) | |
tree | 29dc7a84c251e92e6ed289cdd6d8d154951d459d | |
parent | fe3b46554af07b35f84ca48264830f8c27d4e52e (diff) | |
download | dexon-solidity-09a77de8ab1172ad52a6e2ed46c6f562ba9f11cb.tar dexon-solidity-09a77de8ab1172ad52a6e2ed46c6f562ba9f11cb.tar.gz dexon-solidity-09a77de8ab1172ad52a6e2ed46c6f562ba9f11cb.tar.bz2 dexon-solidity-09a77de8ab1172ad52a6e2ed46c6f562ba9f11cb.tar.lz dexon-solidity-09a77de8ab1172ad52a6e2ed46c6f562ba9f11cb.tar.xz dexon-solidity-09a77de8ab1172ad52a6e2ed46c6f562ba9f11cb.tar.zst dexon-solidity-09a77de8ab1172ad52a6e2ed46c6f562ba9f11cb.zip |
Create types.rst
Maps will be explained later `[here](http://solidity.readthedocs.io/en/develop/types.html#mappings)`_
-rw-r--r-- | docs/types.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/types.rst b/docs/types.rst index c400aecb..65b88b4b 100644 --- a/docs/types.rst +++ b/docs/types.rst @@ -54,7 +54,7 @@ Operators: * Bit operators: ``&``, ``|``, ``^`` (bitwise exclusive or), ``~`` (bitwise negation) * Arithmetic operators: ``+``, ``-``, unary ``-``, unary ``+``, ``*``, ``/``, ``%`` (remainder), ``**`` (exponentiation), ``<<`` (left shift), ``>>`` (right shift) -Division always truncates (it just maps to the DIV opcode of the EVM), but it does not truncate if both +Division always truncates (it just maps to the DIV opcode of the EVM. Maps will be explained later `[here](http://solidity.readthedocs.io/en/develop/types.html#mappings)`_), but it does not truncate if both operators are :ref:`literals<rational_literals>` (or literal expressions). Division by zero and modulus with zero throws a runtime exception. |