diff --git a/src/math/src/lib.cairo b/src/math/src/lib.cairo index 1060c171..42255abe 100644 --- a/src/math/src/lib.cairo +++ b/src/math/src/lib.cairo @@ -231,4 +231,4 @@ impl U256BitRotate of BitRotate { let (quotient, remainder) = DivRem::div_rem(x, step.try_into().unwrap()); remainder * pow(2, 256 - n) + quotient } -} \ No newline at end of file +} diff --git a/src/math/src/tests/math_test.cairo b/src/math/src/tests/math_test.cairo index ffa365c7..1261f94d 100644 --- a/src/math/src/tests/math_test.cairo +++ b/src/math/src/tests/math_test.cairo @@ -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'); -} \ No newline at end of file +}