mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #13255 from vdusart/patch-1
[Docs] Fix operator docs to use an actually convertible type when describing how common type is chosen
This commit is contained in:
commit
5d90dd1982
@ -5,7 +5,7 @@ Operators
|
||||
|
||||
Arithmetic and bit operators can be applied even if the two operands do not have the same type.
|
||||
For example, you can compute ``y = x + z``, where ``x`` is a ``uint8`` and ``z`` has
|
||||
the type ``int32``. In these cases, the following mechanism will be used to determine
|
||||
the type ``uint32``. In these cases, the following mechanism will be used to determine
|
||||
the type in which the operation is computed (this is important in case of overflow)
|
||||
and the type of the operator's result:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user