Skip to content
This repository was archived by the owner on Apr 28, 2025. It is now read-only.

Commit d551777

Browse files
committed
Fix broken comment
1 parent bab43ef commit d551777

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/math/support/hex_float.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ const fn shr_odd_rounding(x: u128, k: u32) -> u128 {
198198
}
199199
}
200200

201-
/// Divide by 4, rounding accor
201+
/// Divide by 4, rounding with the given mode
202202
const fn shr2_round(mut x: u128, round: Round) -> u128 {
203203
let t = (x as u32) & 0b111;
204204
x >>= 2;

0 commit comments

Comments
 (0)