From 82d1c62a07e271c4df89ac27f20de1fa7e8311df Mon Sep 17 00:00:00 2001 From: Yehonatan Cohen Scaly Date: Sun, 11 Jun 2023 19:38:15 +0300 Subject: [PATCH] Add U16384 and U32768 --- src/uint.rs | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/src/uint.rs b/src/uint.rs index b1ed87667..1606dd8d7 100644 --- a/src/uint.rs +++ b/src/uint.rs @@ -360,7 +360,9 @@ impl_uint_aliases! { (U4224, 4224, "4224-bit"), (U4352, 4352, "4352-bit"), (U6144, 6144, "6144-bit"), - (U8192, 8192, "8192-bit") + (U8192, 8192, "8192-bit"), + (U16384, 16384, "16384-bit"), + (U32768, 32768, "32768-bit") } #[cfg(target_pointer_width = "32")] @@ -389,7 +391,9 @@ impl_concat! { (U3072, 3072), (U4096, 4096), (U4224, 4224), - (U4352, 4352) + (U4352, 4352), + (U8192, 8192), + (U16384, 16384) } // TODO(tarcieri): use `const_evaluatable_checked` when stable to make generic around bits. @@ -412,7 +416,9 @@ impl_split! { (U4224, 4224), (U4352, 4352), (U6144, 6144), - (U8192, 8192) + (U8192, 8192), + (U16384, 16384), + (U32768, 32768) } #[cfg(feature = "extra-sizes")]