comp.lang.ada
 help / color / mirror / Atom feed
From: "J-P. Rosen" <rosen@adalog.fr>
Subject: Re: What is the best way to convert Integer to Short_Short_Integer?
Date: Fri, 11 Jun 2010 10:59:53 +0200
Date: 2010-06-11T10:59:53+02:00	[thread overview]
Message-ID: <hustui$i2q$1@news.eternal-september.org> (raw)
In-Reply-To: <husneh$r0d$1@tornado.tornevall.net>

Jeffrey R. Carter a �crit :
> Implementations are not required to define Short_Short_Integer (or any
> other predefined integer type except Integer), so the program may fail
> on other compilers. Thus, the use of Short_Short_Integer is not portable.
> 
But the use of Interfaces.Integer_8 is OK. Guaranteed to be signed
integer on 8 bits, or to be undefined if the machine does not support
such a type - which is a good thing. If you need 8 bit integers and the
machine does not support them, you'd better know ASAP!
-- 
---------------------------------------------------------
           J-P. Rosen (rosen@adalog.fr)
Visit Adalog's web site at http://www.adalog.fr



  reply	other threads:[~2010-06-11  8:59 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-11  1:17 What is the best way to convert Integer to Short_Short_Integer? Adrian Hoe
2010-06-11  2:21 ` Adrian Hoe
2010-06-11  3:14 ` Jeffrey R. Carter
2010-06-11  4:26   ` Adrian Hoe
2010-06-11  7:07     ` Jeffrey R. Carter
2010-06-11  8:59       ` J-P. Rosen [this message]
2010-06-11 12:28       ` Maciej Sobczak
2010-06-11 19:05         ` Randy Brukardt
2010-06-13  4:26         ` BrianG
2010-06-13 18:07           ` Maciej Sobczak
2010-06-14  7:28             ` Georg Bauhaus
2010-06-14 16:45             ` Keith Thompson
2010-06-15  4:54               ` Martin Krischik
2010-06-22 21:48                 ` Keith Thompson
2010-06-15  2:24             ` BrianG
2010-06-15 21:21               ` Maciej Sobczak
2010-06-15 23:39                 ` Georg Bauhaus
2010-06-16  1:27                 ` BrianG
2010-06-11 12:31       ` Brian Drummond
replies disabled

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