comp.lang.ada
 help / color / mirror / Atom feed
From: Martin Krischik <martin@krischik.com>
Subject: Re: Ada suitablity as a game dev language
Date: Thu, 25 Nov 2004 09:47:05 +0100
Date: 2004-11-25T09:47:05+01:00	[thread overview]
Message-ID: <2396807.dud79s8Tan@linux1.krischik.com> (raw)
In-Reply-To: 7e2ad2d.0411240959.1d7b96a3@posting.google.com

Sandro Magi wrote:

> Martin Krischik <martin@krischik.com> wrote in message
> news:<4770972.9DtAtPAQWM@linux1.krischik.com>...
>> Jeff Houck wrote:
>>  * the ability to defined you own float types (speed vs. precision).
>>  * abritatry sized integer (12 bit integer - no prob).
> 
> You can't specify arbitrary integer sizes greater than the underlying
> machine word size though can you? ie. 1024 bit integers are not
> natively supported. x86 would be limited to 32 bits for instance (64
> bits with gnat).

No, GNAT allows up to 64 bit in all platforms supported. Unlike floating
point integer can easily expanded. Most CPU's have a so called "Carry" flag
for integer expasion. This comes from way back 8bit times where integer
expansion was esential.

Of corse a 12 bit type on a 32 bit CPU will only be 12 bit in a packed array
or a packes record. Otherwise the compiler will expand the type to render
better performace.

With Regards

Martin

-- 
mailto://krischik@users.sourceforge.net
http://www.ada.krischik.com



  parent reply	other threads:[~2004-11-25  8:47 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-22  2:45 Ada suitablity as a game dev language Jeff Houck
2004-11-22  3:00 ` John B. Matthews
2004-11-22 23:10   ` David Botton
2004-11-23 13:10     ` Manuel Collado
2004-11-24  2:22       ` David Botton
2004-11-24  2:55         ` Jeff Houck
2004-11-24  8:53           ` Martin Krischik
2004-11-24  9:50           ` Manuel Collado
2004-11-25  1:00             ` David Botton
2004-11-22  3:23 ` stephane richard
2004-11-22  4:25 ` Jeffrey Carter
2004-11-22  8:15 ` Martin Krischik
2004-11-23 21:39   ` Nick Roberts
2004-11-24 17:59   ` Sandro Magi
2004-11-25  1:26     ` Jeffrey Carter
2004-11-25  8:47     ` Martin Krischik [this message]
2004-11-22  8:36 ` Dmitry A. Kazakov
2004-11-22  9:31   ` Dale Stanbrough
2004-11-22 11:02     ` Dmitry A. Kazakov
2004-11-22 11:44       ` Dale Stanbrough
2004-11-22 14:15         ` Dmitry A. Kazakov
2004-11-22 23:12     ` David Botton
2004-11-23  8:20       ` Luke A. Guest
2004-11-22 10:19 ` Alex R. Mosteo
2004-11-22 23:14   ` David Botton
2004-11-22 16:04 ` Luke A. Guest
2004-11-22 16:49   ` Alex R. Mosteo
2004-11-22 17:43     ` Luke A. Guest
2004-11-23  0:28       ` Dani
2004-11-22 23:08 ` David Botton
2004-11-24  1:05 ` Jeff Houck
2004-11-24  8:33   ` Luke A. Guest
2004-11-24 15:11     ` Jeff Houck
2004-11-24 19:26   ` Ludovic Brenta
2004-11-24 19:57     ` Jeff Houck
replies disabled

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