Forums | Forums |




Hello All,

Im working on a GPS application. Im compiling the code using GCC Compiler to make mod. Im using WinARM 4.1.1. I have not used GCC before. Im facing the problem in floating point calculations. All floating point calculations are not performed correctly.

e.g. If I write something like this:

fSec *= 200000;
where fSec is a double variable and contains some value.

the result Im getting is not correct. When I compile the code using ARM I get the correct result. I also tried libraries provided by GCC like libc.a and libgcc.a. Still I got the incorrect results.

Its very argent for me. Can anyone help me to solve this problem?

Thanks in advance...