Merge pull request #11798 from adlerjohn/patch-1

Fix typo
This commit is contained in:
chriseth
2021-08-16 12:11:48 +02:00
committed by GitHub
+1 -1
View File
@@ -108,7 +108,7 @@ Division
Since the type of the result of an operation is always the type of one of
the operands, division on integers always results in an integer.
In Solidity, division rounds towards zero. This mean that ``int256(-5) / int256(2) == int256(-2)``.
In Solidity, division rounds towards zero. This means that ``int256(-5) / int256(2) == int256(-2)``.
Note that in contrast, division on :ref:`literals<rational_literals>` results in fractional values
of arbitrary precision.