Home
Manual
Topics
Types
Symbols
std_types::positive_integer/std::shift_right
returns the right-shifted value
Parameters
self: a positive integer value
shift_count: a positive integer value
Result
result: the right-shifted integer value
Example
println! 4 >> 2
Output
1
Topic
Numbers
Implements
std::shift_right
bitwise shift-right operation
See also
std_types::integer
the prototype object for all integral numbers
std_types::positive_integer
the prototype object for all non-negative integers