double word ordering on little endian

Christopher Taylor chtaylo3 at
Wed Jun 4 15:21:40 PDT 2008

For some reason when I examine the bytes of a double i'm getting the
words swapped

double = 2.048;

on big endian:
4000 624d d2f1 a9fc

what I'm getting on little endian:
4d62 0040 fca9 f1d2

what I'm expecting based on somone elses build (and my understanding
of little vs big endian):
fca9 f1d2 4d62 0040

Any guidance would be appreciated!


More information about the uClibc mailing list