ts-7000
[Top] [All Lists]

[ts-7000] Warning: Floating point format bug encountered using arm-linux

To:
Subject: [ts-7000] Warning: Floating point format bug encountered using arm-linux-gcc-3.3.4
From: "arm.user" <>
Date: Sat, 21 Oct 2006 12:30:47 -0000
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/
 

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU