double word ordering on little endian

Khem Raj raj.khem at gmail.com
Wed Jun 4 23:28:32 UTC 2008


Christopher Taylor wrote:
> 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!

What architecture is it on. if ARM what float format are you using vfp or fpa

> 
> -Chris
> _______________________________________________
> uClibc mailing list
> uClibc at uclibc.org
> http://busybox.net/cgi-bin/mailman/listinfo/uclibc
> 




More information about the uClibc mailing list