diff options
author | James Ray <james.ray0001@gmail.com> | 2017-06-15 17:37:37 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-15 17:37:37 +0800 |
commit | c1e0a6557dd7590f5ce49c9cf742fdc5ddd9ca38 (patch) | |
tree | 260b20e4f639ae09676ea56a0eada828fb5b5e8a | |
parent | 09a77de8ab1172ad52a6e2ed46c6f562ba9f11cb (diff) | |
download | dexon-solidity-c1e0a6557dd7590f5ce49c9cf742fdc5ddd9ca38.tar dexon-solidity-c1e0a6557dd7590f5ce49c9cf742fdc5ddd9ca38.tar.gz dexon-solidity-c1e0a6557dd7590f5ce49c9cf742fdc5ddd9ca38.tar.bz2 dexon-solidity-c1e0a6557dd7590f5ce49c9cf742fdc5ddd9ca38.tar.lz dexon-solidity-c1e0a6557dd7590f5ce49c9cf742fdc5ddd9ca38.tar.xz dexon-solidity-c1e0a6557dd7590f5ce49c9cf742fdc5ddd9ca38.tar.zst dexon-solidity-c1e0a6557dd7590f5ce49c9cf742fdc5ddd9ca38.zip |
Create types.rst
"is compiled" avoids ambiguity compared with "maps", especially for those who may not understand what maps may mean and may confuse it with the "mapping" code keyword
-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 65b88b4b..7b6e1775 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. Maps will be explained later `[here](http://solidity.readthedocs.io/en/develop/types.html#mappings)`_), but it does not truncate if both +Division always truncates (it just is compiled to the DIV opcode of the EVM), 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. |