Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
shuhuiluo committed Dec 29, 2023
1 parent 68102fc commit 9699b3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/bit_math.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ pub fn most_significant_bit(x: U256) -> u8 {
b256!("0706060506020504060203020504030106050205030304010505030400000000");
let x_shr_r = x.shr(r).to_le_bytes::<32>()[0] as u32;

r | SEQUENCE[(0x8421084210842108cc6318c6db6d54be
r | SEQUENCE[(0x8421084210842108cc6318c6db6d54be_u128
.checked_shr(x_shr_r)
.unwrap_or(0)
& 0x1f) as usize]
Expand Down

0 comments on commit 9699b3d

Please sign in to comment.