Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Homework Help: || meaning

  1. May 3, 2005 #1
    How would you compute the following,

    9||2

    Ive never seen this previously and i cant consistently match answers the book has for the various listings.
     
  2. jcsd
  3. May 3, 2005 #2

    HallsofIvy

    User Avatar
    Science Advisor

    I'm sorry, I honestly don't recognize that notation. Could you give us more information? Can you find the first place in your book where it appears?
     
  4. May 3, 2005 #3

    arildno

    User Avatar
    Science Advisor
    Homework Helper
    Gold Member
    Dearly Missed

    I suspect it is a typo.

    It would be best if you could provide the context in which it appears, preferably a direct quote.
    This would hopefully enable us to establish what the author has meant.
     
  5. May 3, 2005 #4

    SpaceTiger

    User Avatar
    Staff Emeritus
    Science Advisor
    Gold Member

    In many programming languages, it means "or", but I don't think that's what they're trying to say here, since "9 or 2" doesn't make any sense on its own.
     
  6. May 3, 2005 #5

    arildno

    User Avatar
    Science Advisor
    Homework Helper
    Gold Member
    Dearly Missed

    How about 9 is parallell to 2?

    No, that doesn't make a lot of sense either..:wink:


    I'm sorry, SpaceTiger, I just couldn't resist, even though I know your suggestion CAN have some sense in some context. Mine can't (I think..)
     
  7. May 3, 2005 #6

    SpaceTiger

    User Avatar
    Staff Emeritus
    Science Advisor
    Gold Member

    Well, I figured there was some chance they had seen something like (x<9||2<y) and interpreted the "9||2" part by itself.
     
  8. May 3, 2005 #7

    arildno

    User Avatar
    Science Advisor
    Homework Helper
    Gold Member
    Dearly Missed

    That is indeed a good suggestion if it is not a typo..
     
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook