Skip to content

Commit

Permalink
Added a more specific documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
hdvanegasm committed Dec 20, 2023
1 parent e866116 commit 4a638ce
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ff/src/biginteger/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -736,7 +736,8 @@ impl<const N: usize> Shr<u32> for BigInt<N> {
///
/// Differently from the built-in numeric types (u8, u32, u64, etc.) this
/// operation does *not* return an underflow error if the number of bits
/// shifted is larger than N * 64.
/// shifted is larger than N * 64. Instead the result will be saturated to
/// zero.
fn shr(self, mut rhs: u32) -> Self::Output {
let mut data = self.0.clone();

Expand Down

0 comments on commit 4a638ce

Please sign in to comment.