home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / rec / humor / 34560 < prev    next >
Encoding:
Internet Message Format  |  1992-11-21  |  1.6 KB

  1. Xref: sparky rec.humor:34560 rec.humor.d:2692 alt.folklore.computers:16567
  2. Path: sparky!uunet!olivea!spool.mu.edu!darwin.sura.net!haven.umd.edu!news.umbc.edu!gmuvax2!2261as
  3. From: 2261as@gmuvax2.gmu.edu ( )
  4. Newsgroups: rec.humor,rec.humor.d,alt.folklore.computers
  5. Subject: Re: base -2 arithmetic (was: Re: Trinary)
  6. Message-ID: <1992Nov21.223619.13299@gmuvax2.gmu.edu>
  7. Date: 21 Nov 92 22:36:19 GMT
  8. References: <3ug2TB6w165w@mertwig.UUCP> <BxL834.GDv@constellation.ecn.uoknor.edu> <1992Nov12.143325.17656@u.washington.edu>
  9. Organization: George Mason University, Fairfax, Va.
  10. Lines: 49
  11.  
  12. In article <1992Nov12.143325.17656@u.washington.edu> whit@carson.u.washington.edu (John Whitmore) writes:
  13. >In article <BxL834.GDv@constellation.ecn.uoknor.edu> norlin@midway.ecn.uoknor.edu (Norman Lin) writes:
  14. >
  15. >>I missed the first part of this thread, so forgive me if this has already
  16. >>been said: for strictly positive numbers, I think base 1 is suitable:
  17. >>
  18. >>1: 1
  19. >>2: 11
  20. >>3: 111
  21. >>4: 1111
  22. >>5: 11111
  23. >>... ad nauseum.
  24. >
  25. >    Yes, that DOES work.  The difficulty is in representing
  26. >real numbers (as fractions).
  27. >
  28. >1: .1
  29. >2: .11
  30. >3: .111
  31. >4: .1111
  32. >
  33. >but
  34. >1/2: ???
  35. >
  36. >    John Whitmore
  37.  
  38.  
  39. according to this, 1/2 would be
  40. [.11111...]  doesn't anyone here remember combinatorics?
  41.  
  42. I'd like to see someone represent 0.
  43.  
  44. [0] -ten = [ ] -one  right
  45.  
  46. I always thought the number bases started with [0] myself.
  47. so base one is any representation of [0] = 0.
  48. And of course, the complement is [0]
  49. so long precision arithmatics goes like:
  50.  
  51.     00000
  52.        +00000
  53. ---------------------
  54.     00000 = [0]-ten
  55.  
  56. and logical shifts go like:
  57.      000
  58.     *000
  59. -----------------------
  60.       000    = [0*0=0] -ten
  61.