Skip to content

Commit

Permalink
Update feature-specification.md
Browse files Browse the repository at this point in the history
  • Loading branch information
0xflotus authored May 9, 2019
1 parent 87bd636 commit 3e64222
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,16 @@ defined as:
/// Performs a *logical shift* down of the bits representing this number,
/// which shifts *out* the low [count] bits, shifts the remaining (if any)
/// bits *down* to the least significant bit positions,
/// and shifts *in* zeros as the most signficant bits.
/// and shifts *in* zeros as the most significant bits.
/// This differs from [operator >>] which shifts in copies of the most
/// signficant bit as the new most significant bits.
/// significant bit as the new most significant bits.
///
/// The [count] must be non-negative. If [count] is greater than or equal to
/// the number of bits in the representation of the integer, the result is
/// always zero (all bits shifted out).
/// If [count] is greater than zero, the result is always positive.
///
/// For a *non-negative* integes `n` and `k`,
/// For a *non-negative* integers `n` and `k`,
/// `n >>> k` is equivalent to truncating division of `n` by 2<sup>k</sup>,
/// or `n ~/ (1 << k)`.
int operator >>>(int count);
Expand Down

0 comments on commit 3e64222

Please sign in to comment.