Re: How to byte swap an IEEE Float?
- From: "Björn" <ssh9614@xxxxxxxxxxx>
- Date: 29 Jun 2005 03:00:26 -0700
> 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
.
- Follow-Ups:
- Re: How to byte swap an IEEE Float?
- From: Stephen Leake
- Re: How to byte swap an IEEE Float?
- References:
- How to byte swap an IEEE Float?
- From: Björn
- Re: How to byte swap an IEEE Float?
- From: Stephen Leake
- How to byte swap an IEEE Float?
- Prev by Date: Re: Division by zero
- Next by Date: Re: Division by zero
- Previous by thread: Re: How to byte swap an IEEE Float?
- Next by thread: Re: How to byte swap an IEEE Float?
- Index(es):
Relevant Pages
|