< prev index next >

jdk/src/java.base/share/classes/java/math/MutableBigInteger.java

Print this page

        

*** 1876,1886 **** * Jr., <i>Hacker's Delight (2nd ed.)</i> (Addison Wesley, 2013), 279-282. * * @throws ArithmeticException if the value returned by {@code bitLength()} * overflows the range of {@code int}. * @return the integer square root of {@code this} ! * @since 1.9 */ MutableBigInteger sqrt() { // Special cases. if (this.isZero()) { return new MutableBigInteger(0); --- 1876,1886 ---- * Jr., <i>Hacker's Delight (2nd ed.)</i> (Addison Wesley, 2013), 279-282. * * @throws ArithmeticException if the value returned by {@code bitLength()} * overflows the range of {@code int}. * @return the integer square root of {@code this} ! * @since 9 */ MutableBigInteger sqrt() { // Special cases. if (this.isZero()) { return new MutableBigInteger(0);
< prev index next >