comp.lang.ada
 help / color / mirror / Atom feed
From: Duncan Sands <baldrick@free.fr>
To: amado.alves@netcabo.pt, Marius Amado Alves <maa@liacc.up.pt>,
	comp.lang.ada@ada-france.org
Subject: Re: different compilers: different standard types?????
Date: Thu, 18 Mar 2004 20:35:57 +0100
Date: 2004-03-18T20:35:57+01:00	[thread overview]
Message-ID: <mailman.109.1079651989.327.comp.lang.ada@ada-france.org> (raw)
In-Reply-To: <200403181313.16003.maa@liacc.up.pt>

Hi Marius,

> So I guess my question is: Why does not GNAT define Integer (and
> Long_Integer) for 64-bits? AFAICS the standard does not impose a upper
> limit on Integer. And don't tell me the answer is: Because then
> Short_Integer would have 32-bits, and that is not what the C world calls
> short.

I guess you mean "why doesn't GNAT define Integer to have 64 bits"?
I've heard it said that GNAT (in fact gcc) defines Integer to be the most
efficient integer type for the processor.  For example, on a 32 bit processor
64 bit integer arithmetic is slower than 32 bit integer arithmetic.  I expect
that Integer is 64 bits on 64 bit processors...

Ciao,

Duncan.



  parent reply	other threads:[~2004-03-18 19:35 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-17  8:15 different compilers: different standard types????? Riccardo
2004-03-17 17:10 ` Martin Krischik
2004-03-18  3:47 ` Steve
2004-03-18 10:37   ` Jean-Pierre Rosen
2004-03-18 13:09     ` Dmitry A. Kazakov
2004-03-18 13:13   ` Marius Amado Alves
2004-03-18 14:21     ` Ludovic Brenta
2004-03-18 14:45     ` Georg Bauhaus
2004-03-18 17:33       ` Marius Amado Alves
2004-03-18 17:42       ` Martin Krischik
2004-03-19  0:16     ` Jeffrey Carter
     [not found]   ` <200403181313.16003.maa@liacc.up.pt>
2004-03-18 19:35     ` Duncan Sands [this message]
2004-03-19  1:08     ` Stephen Leake
     [not found]     ` <200403182035.57424.baldrick@free.fr>
2004-03-19  8:07       ` Marius Amado Alves
2004-03-19  3:29         ` Steve
2004-03-19 15:36           ` Marius Amado Alves
     [not found]           ` <00a401c40dc7$f2b333e0$c32416d5@netcabo.pt>
2004-03-19 16:03             ` Marius Amado Alves
     [not found]     ` <u7jxhprro.fsf@acm.org>
     [not found]       ` <005f01c40dbf$94ce9e20$c32416d5@netcabo.pt>
2004-03-19 13:19         ` Stephen Leake
2004-03-19 14:36       ` Marius Amado Alves
2004-03-19 10:16         ` Jean-Pierre Rosen
2004-03-20  0:52         ` Jeffrey Carter
2004-03-20 22:56           ` Marius Amado Alves
  -- strict thread matches above, loose matches on Subject: below --
2004-03-19  7:33 Riccardo
2004-03-19 13:10 ` Martin Dowie
replies disabled

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