home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / sci / math / 17403 < prev    next >
Encoding:
Internet Message Format  |  1992-12-24  |  2.0 KB

  1. Path: sparky!uunet!pipex!bnr.co.uk!uknet!qmw-dcs!arodgers
  2. From: arodgers@dcs.qmw.ac.uk (Angus H Rodgers)
  3. Newsgroups: sci.math
  4. Subject: Re: Negative Zero
  5. Message-ID: <1992Dec24.235258.5869@dcs.qmw.ac.uk>
  6. Date: 24 Dec 92 23:52:58 GMT
  7. 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>
  8. Sender: usenet@dcs.qmw.ac.uk (Usenet News System)
  9. Organization: Computer Science Dept, QMW, University of London
  10. Lines: 39
  11. Nntp-Posting-Host: safety.dcs.qmw.ac.uk
  12.  
  13. [This is getting silly, but what the heck, because what am I doing
  14. here on Christmas Eve anyway?]
  15.  
  16. In <1992Dec23.211510.21083@massey.ac.nz>
  17. news@massey.ac.nz (USENET News System) writes:
  18.  
  19. >I'd better explain the joke - obviously some people need it :-)
  20.  
  21. >After a while the counter reached 32767. On the next iteration it
  22. >became -32768.
  23.  
  24. >Of course he might have used LONGINT, in which case the program
  25. >would run a little longer before cycling.
  26.  
  27. >To be serious for a moment :-), a computer is a finite state machine.
  28.  
  29. Yes, and some programming languages allow you to create "counters"
  30. which you can repetitively increment for a VERY long time --  at
  31. least as long as it takes for the machine to rust away.
  32.  
  33. You forgot the :-), which really was needed in this case.
  34.  
  35. As my (true) story indicates, some people really are just as crazy
  36. as your fictional student.
  37.  
  38. And indeed, on two separate occasions recently, ideas which I've
  39. proposed on Usenet as obviously crazy jokes have turned out to have 
  40. already been put into practice, somewhere. (misc.kids readers may
  41. remember.)
  42.  
  43. Maybe that's how religions get started. ... Indeed, isn't that
  44. *exactly* how Scientology got started?
  45.  
  46. ;->
  47. --
  48. Gus Rodgers,  Dept. of Computer Science, |  [Profound thought for 1993]
  49. Queen Mary & Westfield College, Mile End |     "Philishave is about
  50. Road, London, England.   +44 71 975 5241 |      personal choice" 
  51. E-mail (JANET):   arodgers@dcs.qmw.ac.uk |             -- TV advert
  52.