Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!usc!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!aplcen!uunet!zephyr.ens.tek.com!tektronix!reed!reeder From: reeder@reed.UUCP (Doug Reeder) Newsgroups: comp.sys.apple Subject: Re: hyperC K&R standard? Message-ID: <14185@reed.UUCP> Date: 20 Feb 90 03:54:44 GMT References: <3452@plains.UUCP> Reply-To: reeder@reed.UUCP (Doug Reeder) Distribution: usa Organization: Institute of Knowledge, Jinx Lines: 22 In article <3452@plains.UUCP> grisanti@plains.UUCP (Ames Grisanti) writes: >The following program is taken verbatium from THE C PROGRAMMING >LANGUAGE, by Brian W. Kernigan and Dennis M. Ritchie. >/* print Fahrenheit-Celsius table > * for f = 0, 20,..., 300 > */ ... The compiler itself will only allow you to declare floats and doubles and assign values to them. If you want to do math with them or print them out, you must use the stuff on the /FP/ disk (see the file README). The floating point stuff does work, but since it's all done with functions, it's really icky. I can post a working floating point program if people want to see an example. -- Doug Reeder USENET: ...!tektronix!reed!reeder from ARPA: tektronix!reed!reeder@berkeley.EDU BITNET: reeder@reed.BITNET the Little Mermaid on materialism: I just don't see how a world that makes such wonderful things ... could be bad!