home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!pipex!bnr.co.uk!uknet!qmw-dcs!arodgers
- From: arodgers@dcs.qmw.ac.uk (Angus H Rodgers)
- Newsgroups: sci.math
- Subject: Re: Negative Zero
- Message-ID: <1992Dec24.235258.5869@dcs.qmw.ac.uk>
- Date: 24 Dec 92 23:52:58 GMT
- References: <1992Dec12.010711.15778@leela.cs.orst.edu> <1992Dec15.174003.203407@uctvax.uct.ac.za> <1992Dec21.190158.4586@galois.mit.edu> <1992Dec23.211510.21083@massey.ac.nz>
- Sender: usenet@dcs.qmw.ac.uk (Usenet News System)
- Organization: Computer Science Dept, QMW, University of London
- Lines: 39
- Nntp-Posting-Host: safety.dcs.qmw.ac.uk
-
- [This is getting silly, but what the heck, because what am I doing
- here on Christmas Eve anyway?]
-
- In <1992Dec23.211510.21083@massey.ac.nz>
- news@massey.ac.nz (USENET News System) writes:
-
- >I'd better explain the joke - obviously some people need it :-)
-
- >After a while the counter reached 32767. On the next iteration it
- >became -32768.
-
- >Of course he might have used LONGINT, in which case the program
- >would run a little longer before cycling.
-
- >To be serious for a moment :-), a computer is a finite state machine.
-
- Yes, and some programming languages allow you to create "counters"
- which you can repetitively increment for a VERY long time -- at
- least as long as it takes for the machine to rust away.
-
- You forgot the :-), which really was needed in this case.
-
- As my (true) story indicates, some people really are just as crazy
- as your fictional student.
-
- And indeed, on two separate occasions recently, ideas which I've
- proposed on Usenet as obviously crazy jokes have turned out to have
- already been put into practice, somewhere. (misc.kids readers may
- remember.)
-
- Maybe that's how religions get started. ... Indeed, isn't that
- *exactly* how Scientology got started?
-
- ;->
- --
- Gus Rodgers, Dept. of Computer Science, | [Profound thought for 1993]
- Queen Mary & Westfield College, Mile End | "Philishave is about
- Road, London, England. +44 71 975 5241 | personal choice"
- E-mail (JANET): arodgers@dcs.qmw.ac.uk | -- TV advert
-