From: Martin Krischik <krischik@users.sourceforge.net>
Subject: Re: Should be getting a constraint error in this code
Date: Sun, 25 Jul 2004 15:54:09 +0200
Date: 2004-07-25T15:54:09+02:00 [thread overview]
Message-ID: <5281838.OJeT1fiqLc@linux1.krischik.com> (raw)
In-Reply-To: BXuMc.99254$dP1.338757@newsc.telia.net
Bjï¿œrn Persson wrote:
> Keith Boruff wrote:
>
>> Secondly, where in the heck did 243 come from?
>
> 216 interpreted as a signed 8-bit integer is -40, -40 / 3 = -13 (integer
> division), and signed 8-bit -13 interpreted as unsigned is 243.
Well observed!
But since he used a range and not a mod I would consider it a bug within the
GNAT compiler.
With Regards
Martin
--
mailto://krischik@users.sourceforge.net
http://www.ada.krischik.com
next prev parent reply other threads:[~2004-07-25 13:54 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-24 2:32 Should be getting a constraint error in this code Keith Boruff
2004-07-24 3:33 ` Robert I. Eachus
2004-07-24 3:35 ` John B. Matthews
2004-07-24 15:08 ` Björn Persson
2004-07-25 13:54 ` Martin Krischik [this message]
2004-07-25 15:14 ` Nick Roberts
-- strict thread matches above, loose matches on Subject: below --
2004-07-26 6:42 Christoph Karl Walter Grein
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox