Why square root of -Infinity is +Infinity in Java? – stackoverflow.com 03:39 Posted by Unknown No Comments I tried two different ways to find the square root in Java: Math.sqrt(Double.NEGATIVE_INFINITY); // NaN Math.pow(Double.NEGATIVE_INFINITY, 0.5); // Infinity Why doesn't the second way return the ... from Hot Questions - Stack Exchange OnStackOverflow via Blogspot Share this Unknown
0 Comment to "Why square root of -Infinity is +Infinity in Java? – stackoverflow.com"
Post a Comment