Results 1 to 11 of 11

Thread: 0/0?

  1. #1

    Thread Starter
    Frenzied Member markman's Avatar
    Join Date
    Nov 2000
    Location
    Florida.
    Posts
    1,197

    Question 0/0?

    what is 0/0?
    0/x = 0 but
    x/0 = protein infinity, and
    x/x = 1
    retired member. Thanks for everything

  2. #2
    Frenzied Member HarryW's Avatar
    Join Date
    Jan 2000
    Location
    Heiho no michi
    Posts
    1,827
    It's undefined.
    Harry.

    "From one thing, know ten thousand things."

  3. #3
    Fonzdude
    Guest
    Originally posted by HarryW
    It's undefined.

    isnt that what computers and calculators say when div by zero becuase the number would be infinte

  4. #4
    Hyperactive Member Ambivalentiowa's Avatar
    Join Date
    Apr 2002
    Location
    Coming soon to a store near you!
    Posts
    375
    Ummmm... the search function could help

    There's been a 300 page post on this already.
    -Show me on the doll where the music touched you.

  5. #5
    Frenzied Member nishantp's Avatar
    Join Date
    Jan 2001
    Location
    Where you least expect me to be
    Posts
    1,375

    Re: 0/0?

    Originally posted by markman
    x/0 = protein infinity
    This one applies. It can be thought of as either undefined or infinity.
    You just proved that sig advertisements work.

  6. #6
    Dazed Member
    Join Date
    Oct 1999
    Location
    Ridgefield Park, NJ
    Posts
    3,418
    For floating point operations. Division by 0.0 will produce INF (4.0/0.0) -INF ((-4.0)/0.0) and (0.0/0.0) NAN.

  7. #7
    Zaei
    Guest
    Quiet NaN's are the worst. It doesnt even tell you you just divided by 0.0f!

    Z.

  8. #8

  9. #9
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    Originally posted by Zaei
    Quiet NaN's are the worst. It doesnt even tell you you just divided by 0.0f!

    Z.
    I prefer them actually, because it saves programmer effort for a minority case that the user will obviously notice (plus if you've coded your algorithm properly you should never end up dividing by zero or epsilon).
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  10. #10
    Addicted Member
    Join Date
    Dec 2001
    Location
    MD
    Posts
    182

    Indeterminate

    Value of 0/0 is Indeterminate.

    Also for INF/INF is also Indertminate.

    Means that value cannot be determined.

  11. #11
    Addicted Member csammis's Avatar
    Join Date
    Mar 2001
    Location
    /dev/null
    Posts
    226
    In my high school calculus course (back in the day...), the first thing the teacher asked the class was to go home and ponder 0/x, x/0, and 0/0. Everyone knew 0/x = 0, nearly everyone who had read the material knew that x/0 = +- INF, but we had a two day discussion (with the teacher just sitting back and grinning) about what 0/0 could possibly be...the answer, as vsusi said, is that it's indeterminate. So technically, 0/x = 0 and x/0 = +- INF for all x != 0

    (Wish ASCII had good math symbols...I likes me some discrete math notation!)
    Things I've Said:
    "Life's funny like that...elephants can wear frilly lace panties, and Dubya still looks like a monkey in a big chair"
    "Take four goats and strap one to each foot of a llama. Presto, goat-powered llama!"
    "You want to get me to work more, get me a Coke. No? Then deal with inferior garbage, I'm not coding another line and your clients can go to......thanks, I'd love a Coke right about now!"

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width