home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.cpm
- Path: sparky!uunet!spool.mu.edu!uwm.edu!rpi!usc!cs.utexas.edu!milano!cactus.org!wixer!fmouse
- From: fmouse@wixer.cactus.org (Lindsay Haisley)
- Subject: Re: small c problem
- Message-ID: <1992Nov10.004618.29145@wixer.cactus.org>
- Organization: Real/Time Communications
- References: <8NOV199200472108@zeus.tamu.edu>
- Distribution: usa
- Date: Tue, 10 Nov 92 00:46:18 GMT
- Lines: 23
-
- 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
-
-
-