Skip to content

Commit

Permalink
Added missing u128 impl for Gcd and Lcm
Browse files Browse the repository at this point in the history
  • Loading branch information
1Git2Clone committed Nov 17, 2024
1 parent e203039 commit 27cd6e0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/utils/gcd.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,4 @@ macro_rules! auto_impl_gcd {
)*)
}

auto_impl_gcd!(i8, i16, i32, i64, i128, isize, u8, u16, u32, u64, usize);
auto_impl_gcd!(i8, i16, i32, i64, i128, isize, u8, u16, u32, u64, u128, usize);
2 changes: 1 addition & 1 deletion src/utils/lcm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ macro_rules! auto_impl_lcm {
)*)
}

auto_impl_lcm!(i8, i16, i32, i64, i128, isize, u8, u16, u32, u64, usize);
auto_impl_lcm!(i8, i16, i32, i64, i128, isize, u8, u16, u32, u64, u128, usize);

0 comments on commit 27cd6e0

Please sign in to comment.