From 09a77de8ab1172ad52a6e2ed46c6f562ba9f11cb Mon Sep 17 00:00:00 2001 From: James Ray Date: Mon, 12 Jun 2017 18:02:30 +1000 Subject: [PATCH] Create types.rst Maps will be explained later `[here](http://solidity.readthedocs.io/en/develop/types.html#mappings)`_ --- docs/types.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/types.rst b/docs/types.rst index c400aecba..65b88b4b8 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` (or literal expressions). Division by zero and modulus with zero throws a runtime exception.