Skip to content

Commit

Permalink
scarb fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
sveamarcus committed Dec 8, 2023
1 parent f56f65a commit 7775f25
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/math/src/lib.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -231,4 +231,4 @@ impl U256BitRotate of BitRotate<u256> {
let (quotient, remainder) = DivRem::div_rem(x, step.try_into().unwrap());
remainder * pow(2, 256 - n) + quotient
}
}
}
2 changes: 1 addition & 1 deletion src/math/src/tests/math_test.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -223,4 +223,4 @@ fn test_rotr_max() {
assert(BitRotate::rotate_right(0b101_u64, 63) == 0b1010, 'invalid result');
assert(BitRotate::rotate_right(0b101_u128, 127) == 0b1010, 'invalid result');
assert(BitRotate::rotate_right(0b101_u256, 255) == 0b1010, 'invalid result');
}
}

0 comments on commit 7775f25

Please sign in to comment.