static public BigDecimal sqrt ( final BigDecimal x ) { if ( x . compareTo ( BigDecimal . ZERO ) < 0 ) { throw new ArithmeticException ( "negative argument " + x . toString ( ) + " of square root" ) ; } return root ( 2 , x ) ; }
The square root .