comp.lang.ada
 help / color / mirror / Atom feed
From: Björn <ssh9614@hotmail.com>
Subject: Re: How to byte swap an IEEE Float?
Date: 29 Jun 2005 03:00:26 -0700
Date: 2005-06-29T03:00:26-07:00	[thread overview]
Message-ID: <1120039226.101013.221510@g43g2000cwa.googlegroups.com> (raw)
In-Reply-To: <mailman.109.1120001776.17633.comp.lang.ada@ada-france.org>

> See SAL.Network_Order.Gen_Scalar_64 at
> http://www.toadmail.com/~ada_wizard/ada/sal.html for a convenient way
> to do this.

Thanks! I will check it out.

> Hmm. Are you saying the original value is _not_ a NaN? If so, then
> your swap implementation is faulty; try mine.

No the original value _is_ a NaN when read as a float on x86 (the
subject on this thread was perhaps a bit misleading)

BR
Björn




  reply	other threads:[~2005-06-29 10:00 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-28 13:53 How to byte swap an IEEE Float? Björn
2005-06-28 15:06 ` Marius Amado Alves
2005-06-28 15:55   ` Simon Wright
2005-06-28 16:59     ` Marius Amado Alves
2005-06-28 20:43       ` Björn
2005-06-29  0:13         ` Marius Amado Alves
2005-06-30 19:14         ` Randy Brukardt
2005-06-28 16:05 ` Martin Dowie
2005-06-28 23:35 ` Stephen Leake
2005-06-29 10:00   ` Björn [this message]
2005-06-30  0:52     ` Stephen Leake
2005-07-01  4:51       ` Simon Wright
2005-06-29 20:10 ` Damien
2005-06-30 11:35   ` Peter Hermann
2005-06-30 22:26     ` Damien
2005-07-01  7:37       ` Peter Hermann
replies disabled

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