From 8a13fcc5633a4c0acbf04662bfdcc61fdb6f756c Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Mon, 28 Mar 2022 13:56:55 -0400 Subject: modernize get_int() --- big.c | 38 +++++++++++++++++++++++--------------- 1 file changed, 23 insertions(+), 15 deletions(-) diff --git a/big.c b/big.c index 72842fc..022b49d 100644 --- a/big.c +++ b/big.c @@ -14,7 +14,11 @@ #include "big.h" #include -static double logIBASE, log10IBASE; +#define MAX_INT_BITS 60 +#define LONG_LONG_OVERFLOW (1ll<