Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!linus!decvax!duke!unc!mcnc!ecsvax!mas From: mas@ecsvax.UUCP Newsgroups: net.micro.pc Subject: ++ing a float Message-ID: <1418@ecsvax.UUCP> Date: Sat, 22-Oct-83 14:20:37 EDT Article-I.D.: ecsvax.1418 Posted: Sat Oct 22 14:20:37 1983 Date-Received: Sun, 23-Oct-83 09:32:38 EDT Lines: 27 From: mcnc!unc!duke!sdyer@bbncca.ARPA (Steve Dyer) Fri Oct 7 15:02:07 1983 (bbncca.163) net.micro.pc : Re: Computer Innovations C References: citcsv.117 <1348@ecsvax.UUCP> Relay-Version: version B 2.10.1 6/24/83; site decvax.UUCP Posting-Version: version B 2.10 5/3/83; site bbncca.ARPA Message-ID: <163@bbncca.ARPA> Organization: Bolt, Beranek and Newman, Cambridge, Ma. The prefix and postfix operators '++' and '--' have NEVER worked upon float or double operands in any UNIX C compiler that I have used. (I even think you could quote chapter and verse from K&R.) If this is the only problem with CI-C86, then I'd have no complaints. /Steve Dyer decvax!genrad!wjh12!bbncca!sdyer ...!ima!bbncca!sdyer ************************************************************** If you turn to page 16 of K&R you will find an example where they ++ a double. Also on page 187 of K&R in the C reference manual section 7.2 Unary operators paragraph #5 there is a discussion of ++ing any lvalue. Just thought I would quote you chapter and verse although it really is not that big of a deal. mas decvax!mcnc!ecsvax!mas