mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Update value-types.rst - fix typo
Fix typo at line 69.
This commit is contained in:
parent
d10e668f4f
commit
ca232142be
@ -66,7 +66,7 @@ Shifts
|
||||
^^^^^^
|
||||
|
||||
The result of a shift operation has the type of the left operand, truncating the result to match the type.
|
||||
The right operand must be of unsigned type, trying to shift by an signed type will produce a compilation error.
|
||||
The right operand must be of unsigned type, trying to shift by a signed type will produce a compilation error.
|
||||
|
||||
Shifts can be "simulated" using multiplication by powers of two in the following way. Note that the truncation
|
||||
to the type of the left operand is always performed at the end, but not mentioned explicitly.
|
||||
|
Loading…
Reference in New Issue
Block a user