Date : Tue, 10 Nov 1992 00:46:18 GMT
From : agate!spool.mu.edu!uwm.edu!rpi!usc!cs.utexas.edu!milano!cactus.org!wixer!fmouse@ucbvax.Berkeley.EDU (Lindsay Haisley)
Subject: Re: small c problem
In article <8NOV199200472108@zeus.tamu.edu> jle9162@zeus.tamu.edu (ECKHARDT,
JASON LEE) writes:
>I just got smallc21 and it seems that I can't use the "%f" conversion
>specifier with this compiler?! Is this not built in this version or am
>I supposed to include something? If this is a deficiency, is there another
>pd compiler available with a full 'c' implementation? (ansi would be great).
Floating point conversion is a complex business and not easily
implemented on 8080 or Z80 based machines. Even commercial C compilers
such as BDS C implemented floating point arithmetic via special
functions which were included in an add-on floating point library.
Programs which I wrote using floating point arithmetic ususally handled
floating point numbers as strings which were I/O'd with %s rather than
%f. There may be floating point libraries around for small C. This is
certainly the place to advirtise for them. Another source of
information, or so I'm told, is the CP/M echo of FidoNet which is
reportedly a good deal more active than this one.
--
"Everything works if you let it" | Lindsay Haisley
-- The Roadie | fmouse@wixer.cactus.org
End of INFO-CPM Digest V92 Issue #131
*************************************