diff --git a/agb/src/number.rs b/agb/src/number.rs index 812ef05b..9590798a 100644 --- a/agb/src/number.rs +++ b/agb/src/number.rs @@ -6,7 +6,7 @@ use core::{ #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Debug)] pub struct Num(i32); -fn change_base(num: Num) -> Num { +pub fn change_base(num: Num) -> Num { if N < M { Num(num.0 << (M - N)) } else {