[MPlayer-dev-eng] Flaoting point endianness??
Ville Saari
114263 at vs.iki.fi
Sun Mar 6 22:49:08 CET 2005
On Sun, Mar 06, 2005 at 02:59:46PM -0600, Zoltan Hidvegi wrote:
> I think the definition of little-endian float is that the MSB of the
> first byte is the sign, the exponent is in the first bytes, and the
> least significant part of the mantissa is the last byte.
That's the definition of the big-endian float.
> Sparc, hppa, PowerPC are all big-endian int, little-endian float
> x86 is little-endian int, big-endian float.
What you call little-endian float is big-endian and vice versa.
I'm not familiar with hppa, but Sparc, PowerPC and x86 use the
same endianness for both int and float. As do all the other
architectures I'm familiar with.
--
Ville
More information about the MPlayer-dev-eng
mailing list