Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Large values of 0

Large values of 0

Scheduled Pinned Locked Moved The Lounge
question
6 Posts 6 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • W Offline
    W Offline
    Wags
    wrote on last edited by
    #1

    Who said (with regard to the expression 0 == 1) something along the lines of, "0 never equals 1 - except for large values of zero and small values of one"?

    "...there's what people want to hear, there's what people want to believe, there's everything else, THEN there's the truth!" - New York D.A., The International

    P S 2 Replies Last reply
    0
    • W Wags

      Who said (with regard to the expression 0 == 1) something along the lines of, "0 never equals 1 - except for large values of zero and small values of one"?

      "...there's what people want to hear, there's what people want to believe, there's everything else, THEN there's the truth!" - New York D.A., The International

      P Offline
      P Offline
      peterchen
      wrote on last edited by
      #2

      It is a common saying for 1 and 2, never heard it before for 0 and 1 - specifically because 0 is a more tricky case.

      Personally, I love the idea that Raymond spends his nights posting bad regexs to mailing lists under the pseudonym of Jane Smith. He'd be like a super hero, only more nerdy and less useful. [Trevel]
      | FoldWithUs! | sighist | µLaunch - program launcher for server core and hyper-v server

      R J 2 Replies Last reply
      0
      • P peterchen

        It is a common saying for 1 and 2, never heard it before for 0 and 1 - specifically because 0 is a more tricky case.

        Personally, I love the idea that Raymond spends his nights posting bad regexs to mailing lists under the pseudonym of Jane Smith. He'd be like a super hero, only more nerdy and less useful. [Trevel]
        | FoldWithUs! | sighist | µLaunch - program launcher for server core and hyper-v server

        R Offline
        R Offline
        Russell Jones
        wrote on last edited by
        #3

        I've also seen 1+1=3 for large values of 1 which almost makes sense in a rounding kind of way

        L 1 Reply Last reply
        0
        • R Russell Jones

          I've also seen 1+1=3 for large values of 1 which almost makes sense in a rounding kind of way

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          Dunno who said it first, but here's the proof that two plus two equals five, for large amounts of two;

          decimal A = 2.7m;
          decimal B = 2.6m;
          Console.WriteLine("{0} + {1} = {2}", (int)A, (int)B, (int)(A + B));

          I'm sure that I've seen similar jokes in a book of Douglas Adams. As a sidenote, this only works with numbers. In case that you put two rats together, you might end up with either nothing, or a whole lot o' them :)

          I are Troll :suss:

          1 Reply Last reply
          0
          • W Wags

            Who said (with regard to the expression 0 == 1) something along the lines of, "0 never equals 1 - except for large values of zero and small values of one"?

            "...there's what people want to hear, there's what people want to believe, there's everything else, THEN there's the truth!" - New York D.A., The International

            S Offline
            S Offline
            Simon Cooksey
            wrote on last edited by
            #5

            surely (0 == 1) is the same as (false)

            1 Reply Last reply
            0
            • P peterchen

              It is a common saying for 1 and 2, never heard it before for 0 and 1 - specifically because 0 is a more tricky case.

              Personally, I love the idea that Raymond spends his nights posting bad regexs to mailing lists under the pseudonym of Jane Smith. He'd be like a super hero, only more nerdy and less useful. [Trevel]
              | FoldWithUs! | sighist | µLaunch - program launcher for server core and hyper-v server

              J Offline
              J Offline
              Jorgen Sigvardsson
              wrote on last edited by
              #6

              Given enough resolution, I've found all numbers to be quite tricky.

              -- Kein Mitleid Für Die Mehrheit

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups