comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: Problem Cross - Posted fron  Sci Crypt Crypto Group
Date: Mon, 05 Nov 2018 08:19:50 +0000
Date: 2018-11-05T08:19:50+00:00	[thread overview]
Message-ID: <lyh8gwaqc9.fsf@pushface.org> (raw)
In-Reply-To: 85190071-b0f4-4c40-b178-7630c1caaa17@googlegroups.com

Austin Obyrne <austin.obyrne@hotmail.com> writes:

> Having thought it through again for the umpteenth time I realise now
> that my problem is to do with integer overflow i.e. integers greater
> than 2^31.  I am using 32-bit computer architecture.

Not sure whether so old a compiler would support declaring 64-bit
integer as

   subtype Austins_Integer is Long_Long_Integer;

or possibly, to make it more explicit,

   type Austins_Integer is range -2 ** 63 .. 2 ** 63 - 1;


  reply	other threads:[~2018-11-05  8:19 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-04 12:57 Problem Cross - Posted fron Sci Crypt Crypto Group Austin Obyrne
2018-11-04 15:27 ` Simon Wright
2018-11-04 15:37   ` Austin Obyrne
2018-11-05  6:40   ` Austin Obyrne
2018-11-05  8:19     ` Simon Wright [this message]
2018-11-05 16:03       ` Austin Obyrne
replies disabled

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