comp.lang.ada
 help / color / mirror / Atom feed
From: Stephen Leake <stephen_leake@stephe-leake.org>
Subject: Re: advent of code day 10
Date: Sat, 12 Dec 2020 12:17:44 -0800	[thread overview]
Message-ID: <86ft4apymv.fsf@stephe-leake.org> (raw)
In-Reply-To: 3082b617-c2b8-47b5-b0e1-465598271c51n@googlegroups.com

"gautier...@hotmail.com" <gautier_niouzes@hotmail.com> writes:

> On Friday, December 11, 2020 at 4:39:36 AM UTC+1, Stephen Leake wrote:
>> the final total is larger than 64 bits
> The total for your data is 3022415986688, it holds in 42 bits...

hmm. I got constraint error when I used Long_Integer; maybe that's not
64 bits? Using Ada.Big_Numbers.Big_Integers was a good exercise anyway.

-- 
-- Stephe

  reply	other threads:[~2020-12-12 20:17 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-11  3:39 advent of code day 10 Stephen Leake
2020-12-11  5:40 ` Jared Summers
2020-12-11 17:04   ` Stephen Leake
2020-12-11  7:22 ` gautier...@hotmail.com
2020-12-11 14:14 ` gautier...@hotmail.com
2020-12-12 20:17   ` Stephen Leake [this message]
2020-12-12 22:25     ` Jeffrey R. Carter
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox