On Sun, Apr 11, 2004 at 09:33:48PM +0100, Augmentics. wrote: > I also learned how huge a full printf library can be!
Yes, the full printf is big and often only a small part of its functionality is needed. Some small routines that do just whats needed are very useful. Unfortunately that routines are not in standard C libs so reinventing the wheel is often necessary, but a good training too ;-). A small floating point printing routine is inside the sensor22final.zip here: http://www.inf.fu-berlin.de/inst/ag-tech/esb/english/install.htm take a look in the common.c (however its not soo beautiful and print negative floats one digit too short, but it seems to work ok) M.