I believe you need to use the NewFloatMgr if you wish to use doubles and
floats. The old way used structures and function calls to do floating point
math.
Old way to add two floats:
FloatType Answer,a,b;
Answer = FplAdd(a, b);
New way:
float answer,a,b;
answer = a + b;
I'd use the NewFloatMgr simply because it is the way I'm use to working with
floating point numbers. The only drawback is there are no direct routines or
support to format and convert floats to strings.
-----Original Message-----
From: Michael S. Davis <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Monday, April 12, 1999 4:40 PM
Subject: NewFloatMgr: Never Got Answer
>I asked this question a while back and never got an answer.
>
>"Why would/should one use NewFloatMgr instead of double, float,
>etc?" Can someone list all the resons to use NewFloatMgr.
>
>Case in point, I also notice that MathLib, that everyone uses,
>does not use NewFloatMgr and seems to do just fine.
>
>I know this has something to do with code size but are there
>other reasons to use it?
>
>Thanks
>
>----------------------------------------------------
>Shoot-to-Win
>
>Protect the 2nd Amendment
>----------------------------------------------------
>
>
>