From 54e28f5dd49b7695340a00f1f8a4a3e46f396aa8 Mon Sep 17 00:00:00 2001 From: Gwilym Kuiper Date: Sat, 5 Jun 2021 21:43:54 +0100 Subject: [PATCH] Add a Number type for i32 --- agb/src/number.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/agb/src/number.rs b/agb/src/number.rs index 7ddf66cb..46522e2b 100644 --- a/agb/src/number.rs +++ b/agb/src/number.rs @@ -73,6 +73,8 @@ fixed_width_signed_integer_impl!(i32); #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord)] pub struct Num(I); +pub type Number = Num; + pub fn change_base( num: Num, ) -> Num {