From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,d32116f6f91c319f X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!news.glorb.com!news.zanker.org!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!newsmm00.sul.t-online.de!t-online.de!news.t-online.com!not-for-mail From: Martin Krischik Newsgroups: comp.lang.ada Subject: Re: Ada suitablity as a game dev language Date: Thu, 25 Nov 2004 09:47:05 +0100 Organization: None Message-ID: <2396807.dud79s8Tan@linux1.krischik.com> References: <41a152c2$1@x-privat.org> <4770972.9DtAtPAQWM@linux1.krischik.com> <7e2ad2d.0411240959.1d7b96a3@posting.google.com> Reply-To: martin@krischik.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Trace: news.t-online.com 1101372812 02 22770 4rV3X8eLhy88FZ3 041125 08:53:32 X-Complaints-To: usenet-abuse@t-online.de X-ID: rSZFR6ZbQeeTRW+0kFyCKveehgmon2gMGEZp4EshFCn8zkR-2HCUY7 User-Agent: KNode/0.8.0 Xref: g2news1.google.com comp.lang.ada:6453 Date: 2004-11-25T09:47:05+01:00 List-Id: Sandro Magi wrote: > Martin Krischik 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