At 11:29 PM 6/27/2004, you wrote:
Dear all,
    I'm using Eclipse 2.1 which seems to be having a
FloatMgr.h file under it's system directory.On usage
of FlpDouble and functions like _d_mul etc the code
compiles but the simulator(OS ver5.0) hangs.Can any
body tell me anu solution for this.The FAQ section of
Pal site tells us to use NewFloatMgr.h but where do i
get that.We found a third party tool called MathLib
but again the code compiled but the simulator gave a
runtime error of NULL FORM.can anybody guide me how to
compute floating point values?

First, you don't need to directly call any _d_whatever functions. prc-tools will generate the correct calls to the runtime library to call into the system's floating point code. If you don't want to use the FP code that comes with prc-tools, you should add a -lnfm argument to the library list to tell the linker to link with the "new floating point" support code which uses Palm OS's FP functions.


NewFloatMgr.h is a very old header that's not in the Palm OS SDK anymore. The contents of NewFloatMgr.h are now just FloatMgr.h, and no header is provided for the original Palm OS 1.0 FP calls.

MathLib is an add-on shared library that provides advanced math functions, but it relies on the system's basic FP math to work.

-- Ben Combee, DTS technical lead, PalmSource, Inc.
   Read "Combee on Palm OS" at http://palmos.combee.net/


-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Reply via email to