ts-7000
[Top] [All Lists]

[ts-7000] floating point corruption?

To:
Subject: [ts-7000] floating point corruption?
From: Heinrich du Toit <>
Date: Wed, 27 Feb 2008 15:19:37 +0200
Hi

I've compiled a program that does some floating point stuff.
It also communicates with my linux host PC via network.

I've used the ts7800 EABI compiler cross-tool. 2005q3
Everything is linked statically

I've established that network communication is not the problem.


It seem that floating point is corrupt.

When I send from the ARM to the host PC the number 1.
I get back 5.29981e-315  :-/

Also it seems maths on the ARM is completely wrong.
This is sort off a big program so I would like some help rather than 
recompiling the thing 20 times which would take 2 days before I figure 
it out.

Could this be because I have no -mcpu=arm9 option ?
Or maybe it has something to do with linking with -lm under static linking?
The compiler did not complain about that.

Any ideas where I should look for the problem?
I'm pretty sure the code is about right because the program compiles 
fine on x86 and it has been tested on other ARM's by other people. (not 
me though)

thanks




 
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