From 644d65f840ed9d8c4ccec17088b3324e60448997 Mon Sep 17 00:00:00 2001 From: pommicket Date: Fri, 6 Sep 2024 19:31:29 -0400 Subject: Restore 256-bit UInt --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index a61548d..b37ca0b 100644 --- a/src/main.rs +++ b/src/main.rs @@ -7,7 +7,7 @@ use std::process::ExitCode; // bnum seems to be slightly faster than ruint, // and 3x faster than uint. -type UInt = bnum::types::U512; +type UInt = bnum::types::U256; fn is_square(n: UInt) -> bool { let sq = n.sqrt(); -- cgit v1.2.3