comp.lang.ada
 help / color / mirror / Atom feed
From: "Björn Persson" <spam-away@nowhere.nil>
Subject: Re: Should be getting a constraint error in this code
Date: Sat, 24 Jul 2004 15:08:17 GMT
Date: 2004-07-24T15:08:17+00:00	[thread overview]
Message-ID: <BXuMc.99254$dP1.338757@newsc.telia.net> (raw)
In-Reply-To: <gTjMc.2800$q9.4134490@news4.srv.hcvlny.cv.net>

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.

-- 
Björn Persson                              PGP key A88682FD
                    omb jor ers @sv ge.
                    r o.b n.p son eri nu




  parent reply	other threads:[~2004-07-24 15:08 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 [this message]
2004-07-25 13:54   ` Martin Krischik
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