Re: How to byte swap an IEEE Float?



> 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

.



Relevant Pages