Hi All,
While porting an x86-based communications project to a TS-7250, I
encountered an bug relating to how (8-byte) doubles are stored
internally in applications compiled using arm-linux-gcc-3.3.4.
The bug manifests itself as a non-standard byte ordering in memory.
Specifically, instead of the 8-bytes bytes associated with double
precision float being ordered as:
B0 B1 B2 B3 B4 B5 B6 B7
they are actually ordered as:
B4 B5 B6 B7 B0 B1 B2 B3
which is neither LSB or MSB. The bytes, when re-arranged, do
correspond to the IEEE-754 format and yield correct floating point
value.
A note about this bug appear this appears
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18620, where the issue
declared "WONTFIX".
Regards
Roy
PS: A great page for validating the IEEE-754 floating point format is:
http://babbage.cs.qc.edu/IEEE-754/Decimal.html
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|