aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2017-06-16 22:52:46 +0800
committerGitHub <noreply@github.com>2017-06-16 22:52:46 +0800
commite0b9589e5a5b961541aefe783045b93fac347773 (patch)
tree3a274f3f7ea9553ffeca054be937fbf0a8b5059a
parent3abadc7122f4075c64a44332507d140af17f50b5 (diff)
parentc1e0a6557dd7590f5ce49c9cf742fdc5ddd9ca38 (diff)
downloaddexon-solidity-e0b9589e5a5b961541aefe783045b93fac347773.tar
dexon-solidity-e0b9589e5a5b961541aefe783045b93fac347773.tar.gz
dexon-solidity-e0b9589e5a5b961541aefe783045b93fac347773.tar.bz2
dexon-solidity-e0b9589e5a5b961541aefe783045b93fac347773.tar.lz
dexon-solidity-e0b9589e5a5b961541aefe783045b93fac347773.tar.xz
dexon-solidity-e0b9589e5a5b961541aefe783045b93fac347773.tar.zst
dexon-solidity-e0b9589e5a5b961541aefe783045b93fac347773.zip
Merge pull request #2373 from jamesray1/patch-14
Changed to "is compiled" rather than "maps" to the DVM op code to avoid ambiguity
-rw-r--r--docs/types.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/types.rst b/docs/types.rst
index b2175262..0a0bffea 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 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.