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
commit c0a9578979
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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.