My understanding is that if you set the pref panel in the
CW compiler to use 'Palm OS' for floating point, then the
compiler will auto-magically cast float/double values into
NewFloatMgr types, and then call the NewFloatMgr library
(for expressions like a + b with float/double types),
whether or not you include the header.

Including the NewFloatMgr.h header file will allow one to
call some of the library functions that the compiler does
not automatically use (some number conversions, etc.).  I
suppose if you don't use those functions, you don't need
the .h include.  And since the NewFloatMgr is not present
in OS 1.0 devices, an app compiled with the 'Palm OS'
floating point option will crash on such devices unless
you include the new lib or something (test the OS version
and exit gracefully for example).

-- 
Ron Nicholson  mailto:[EMAIL PROTECTED]  http://www.nicholson.com/rhn/ 
#include <canonical.disclaimer> // only my own opinions, etc.

Reply via email to