On Sunday, March 12, 2000 6:20 PM, Alexey Zaparovanny allegedly wrote:
>I do not believe that printf for floating point is needed only in 5%
>applications.
>EVERY application I wrote (even for MCU) needed printf for floating point.
>Many serious/usable applications for Plilot needed printf for %f or %g.
>And I was not saying that they need to include all possible FP operations
>into OS.
>But they still do not have usable minimum at the acceptable level.
>I would say that they should support at least basic trigonometry/logs/exp
>and may be couple more.
>That would add at most 20-30K to the OS.
Very few PIM (Calendar, ToDo) or even game type applications require IEEE
double floating point conversion. I've written more applications that require
floating point than many (Basic interpreters and financial calculators), yet
those types of applications are still in the minority for me.
MathLib is only a 50k install, supports trig/log/exp functions, comes with
full source (and for those that really know what kind of float conversions they
want, including the boundary cases, MathLib includes log10, pow, round and
trunc, which are all you need besides the built-in floating point library to
roll your own "%6.2lf" or whatever floating point print routines.)
IMHO. YMMV.
Ron Nicholson
HotPaw
http://www.hotpaw.com/rhn/hotpaw/
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html