Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: Notesfiles $Revision: 1.7.0.10 $; site ccvaxa Path: utzoo!watmath!clyde!cbosgd!ihnp4!inuxc!pur-ee!uiucdcs!ccvaxa!preece From: preece@ccvaxa.UUCP Newsgroups: net.lang.c Subject: Re: fast code and no morals Message-ID: <2600037@ccvaxa> Date: Wed, 29-Jan-86 11:59:00 EST Article-I.D.: ccvaxa.2600037 Posted: Wed Jan 29 11:59:00 1986 Date-Received: Sat, 1-Feb-86 01:19:52 EST References: <842@megaron.UUCP> Lines: 22 Nf-ID: #R:megaron.UUCP:842:ccvaxa:2600037:000:857 Nf-From: ccvaxa.UUCP!preece Jan 29 10:59:00 1986 > "No morals" applies less to the lack of comments than to the author's > failure to credit the idea to Tom Duff, invented it and who posted it > to this newsgroup a year or so ago. "Don't shade your eyes, > plagiarize!" /* Written 11:42 pm Jan 26, 1986 by dmr@dutoit.UUCP in > ccvaxa:net.lang.c */ ---------- The trick is simple enough to be re-discovered many times, cute enough to be worth posting when discovered. I see no reason to assume the author knew of the previous posting. Note the slightly divergent treatment of the 0 case. The Duff posting was 20 months ago, which is a long time, in net terms. There's nothing the matter with machine dependent code IF YOU EXPLAIN IT AND MARK IT SO. There is no such thing as a program that runs too fast... -- scott preece gould/csd - urbana uucp: ihnp4!uiucdcs!ccvaxa!preece arpa: preece@gswd-vms