comp.lang.ada
 help / color / mirror / Atom feed
From: Martin Krischik <krischik@users.sourceforge.net>
Subject: Re: Unclear error message - please help
Date: Tue, 11 Oct 2005 20:03:39 +0200
Date: 2005-10-11T20:03:39+02:00	[thread overview]
Message-ID: <14302082.OkWFL0V1RL@linux1.krischik.com> (raw)
In-Reply-To: sa43bn9ui7y.fsf@snoopy.microcomaustralia.com.au

Brian May wrote:

>>>>>> "Martin" == Martin Krischik <krischik@users.sourceforge.net> writes:
> 
>     Martin> All range types alow for positive and negative values -
>     Martin> even when the subtype is restricted to a positive range -
>     Martin> so they need a sign bit.
> 
> In another thread I asked if it was possible to have a unsigned 64 bit
> number on a 32 bit platform - the answer was yes.
> 
> People showed me the specification of a built-in Ada package to prove
> it. Sorry I can't remember the exact name of the Package
> (os.interfaces???), and I don't have time to check now either.
 
> Nobody mentioned anything about packing (that I noticed) either.

Unsigned type are created with the keyword "mod" while the keyword "range"
creates signed integer. Ok, I confess that needs a bit of getting used to.

Martin

-- 
mailto://krischik@users.sourceforge.net
Ada programming at: http://ada.krischik.com



  parent reply	other threads:[~2005-10-11 18:03 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-17 21:11 Unclear error message - please help Alfred Hilscher
2005-09-17 21:44 ` Gene
2005-09-17 22:02 ` Ludovic Brenta
2005-09-18  2:32 ` Robert A Duff
2005-10-08 19:39   ` Alfred Hilscher
2005-10-08 20:15     ` Björn Persson
2005-10-09  7:34       ` Martin Krischik
2005-10-08 21:28     ` Dmitry A. Kazakov
2005-10-08 23:58     ` Robert A Duff
2005-10-09  7:29     ` Martin Krischik
2005-10-09 14:24       ` Robert A Duff
2005-10-09 22:02       ` Brian May
2005-10-10 16:49         ` Martin Krischik
2005-10-10 22:20           ` Brian May
2005-10-11  5:48             ` Martin Dowie
2005-10-11 18:03             ` Martin Krischik [this message]
     [not found]         ` <h84lk1tqgofrhgabm8q3sqbb80li6733bh@4ax.com>
2005-10-16  1:10           ` Robert A Duff
replies disabled

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