graduate Posted January 24, 2012 Share Posted January 24, 2012 What are a and b? a === b; // true1/a !== 1/b; // true Link to comment Share on other sites More sharing options...
JamesB Posted January 24, 2012 Share Posted January 24, 2012 -0 and 0? Link to comment Share on other sites More sharing options...
graduate Posted January 24, 2012 Author Share Posted January 24, 2012 yeah ) Link to comment Share on other sites More sharing options...
extraperson1988 Posted January 25, 2012 Share Posted January 25, 2012 Man are there a lot of these types of paradoxs? I used to understand the reasoning behind this one. Something to do with how 0 is stored? Link to comment Share on other sites More sharing options...
justsomeguy Posted January 25, 2012 Share Posted January 25, 2012 1/0 is either positive infinity or negative infinity. The negative sign is used to indicate that it's negative infinity vs. positive. Check the graph on this page to see the function 1/x as x approaches 0, notice how the value is either positive infinity or negative infinity depending on which direction x approaches from: http://en.wikipedia.org/wiki/Divide_by_zero Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.