comp.lang.ada
 help / color / mirror / Atom feed
From: Marius Amado Alves <maa@liacc.up.pt>
To: comp.lang.ada@ada-france.org
Subject: Re: Little Endian -> Big Endian (Ada95 / GNAT), Whats with floating point types?
Date: Thu, 4 Mar 2004 13:12:56 +0000
Date: 2004-03-04T13:12:56+00:00	[thread overview]
Message-ID: <mailman.61.1078405265.327.comp.lang.ada@ada-france.org> (raw)
In-Reply-To: <cNE1c.8325$JN2.5500@bignews4.bellsouth.net>

> ... Also, there is a small performance penalty paid for
> shuffling bits around to achieve platform independence.

But surely less than converting to an ASCII image and back. (I suspect that, 
contrary to what has been indicated, the significant performance loss in the 
ASCII solution is of time, not space.)

But the ASCII solution is a nice, safe one if you don't have the time or the 
will or the possibility to learn to use or just to use the compiler's. 
Remember Ada has the wonderful 'Image and 'Value attributes which take care 
of the conversion for you.



  reply	other threads:[~2004-03-04 13:12 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-25  9:38 Little Endian -> Big Endian (Ada95 / GNAT) James Amor
2004-02-25 12:23 ` David C. Hoos
2004-02-26 15:43   ` James Amor
2004-02-26  5:59 ` Simon Wright
2004-02-27 20:38   ` Guillaume Foliard
2004-02-28 11:27   ` Little Endian -> Big Endian (Ada95 / GNAT), Whats with floating point types? Joachim Schr�er
2004-02-29 16:32     ` Simon Wright
2004-03-04  5:32     ` pburnand0-news
2004-03-04 11:55       ` Little Endian -> Big Endian (Ada95 / GNAT),Whats " David C. Hoos
2004-03-04 13:12         ` Marius Amado Alves [this message]
2004-03-04 17:51           ` Little Endian -> Big Endian (Ada95 / GNAT), Whats " Warren W. Gay VE3WWG
2004-03-04 18:34             ` Hyman Rosen
2004-03-05 17:40               ` Warren W. Gay VE3WWG
2004-03-05 17:50                 ` Warren W. Gay VE3WWG
2004-03-05 13:48             ` pburnand0-news
2004-03-05 17:34               ` Warren W. Gay VE3WWG
2004-03-05 17:53                 ` Warren W. Gay VE3WWG
2004-03-05 13:29           ` pburnand0-news
replies disabled

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