Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature currently requires accessing the site using the built-in Safari browser.
unpopular said:ERROR AA9004 - CANNOT PARSE QUESTION
in order for me to answer this question, I'd have to divide the result of the square root of negative zero by zero.
^^ i figured someone would point that out after I was curious what would actually happen.
you nerds take away all the fun.
bratkinson said:For those familiar with computers, negative zero is represented as all bits set to 1...the first bit being the sign bit. Since it's a negative, the absolute number is the complement of the original number (all 1s become 0s, and all 0s become 1s), but negative. So, it's really (negative) 00000000000000000000.... And the square root of anything is whatever multiplied by itself results in the original number (2 is square root of 4, etc). Zero times zero is, of course, zero. So the square root of negative zero is therefore zero, then set negative, eg, to all 1 bits again...(FFFF to us mainframers). And dividing a number by itself, by mathematical definition, is one (1). So, the answer to your question is really negative (that old 1 bit up front!) zero.
And now you know why computers use 2s complement for mathematics...it eliminates the need for negative zero and all the hassles it causes. as a result, negative one is represented as 1000000000000010, and negative zero is 1000000000000001. Go figure!
And the square root of 2 is2 is square root of 4, etc