Subject: Re: your mail
To: <>
From: David Laight <david@l8s.co.uk>
List: tech-net
Date: 08/07/2002 14:12:13
> I am having a doubt whether on sending between
> little endian and big endian machines floats have also
> to be converted like int (ntohl) or they are not to be
> converted.
They will almost certainly need to be converted.
In many cases reversing all the bytes will suffice,
however some architectures (eg arm) use a mixed
byte ordering for floats, others may use a non-standard
encoding.
David
--
David Laight: david@l8s.co.uk