comp.lang.ada
 help / color / mirror / Atom feed
From: dewar@gnat.com (Robert Dewar)
Subject: Re: creating a 16 bit value from 2 8 bit values in Ada
Date: 3 Aug 2002 07:37:45 -0700
Date: 2002-08-03T14:37:45+00:00	[thread overview]
Message-ID: <5ee5b646.0208030637.3fcf6f15@posting.google.com> (raw)
In-Reply-To: uwur96s19.fsf@gsfc.nasa.gov

Stephen Leake <stephen.a.leake.1@gsfc.nasa.gov> wrote in message news:<uwur96s19.fsf@gsfc.nasa.gov>...
 
> One advantage of this version is it should take no code. 

No, it is probably much less efficient, because it forces
things into memory.


> One drawback
> is you have to get the byte-endianness right.

A big drawback. This is definitely not the right approach.



  reply	other threads:[~2002-08-03 14:37 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-02  1:40 creating a 16 bit value from 2 8 bit values in Ada Mark
2002-08-02  2:07 ` Darren New
2002-08-02  8:36   ` John McCabe
2002-08-02 18:21 ` Stephen Leake
2002-08-03 14:37   ` Robert Dewar [this message]
2002-08-03  0:52 ` Kevin Krieser
2002-08-03  1:59 ` SteveD
2002-08-03  2:02 ` creating a 16 bit value from 2 8 bit values in Ada (again) SteveD
replies disabled

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