| Modifier and Type | Method and Description |
|---|---|
static long |
sqrt(DecimalArithmetic arith,
DecimalRounding rounding,
long uDecimal)
Calculates the square root of the specified unscaled decimal value
rounding the result if necessary.
|
static long |
sqrt(DecimalArithmetic arith,
long uDecimal)
Calculates the square root of the specified unscaled decimal value
truncating the result if necessary.
|
static long |
sqrtLong(DecimalRounding rounding,
long lValue)
Calculates the square root of the specified long value rounding the
result if necessary.
|
static long |
sqrtLong(long lValue)
Calculates the square root of the specified long value truncating the
result if necessary.
|
public static final long sqrtLong(long lValue)
lValue - the long valueArithmeticException - if lValue < 0public static final long sqrtLong(DecimalRounding rounding, long lValue)
rounding - the rounding to apply if necessarylValue - the long valueArithmeticException - if lValue < 0public static final long sqrt(DecimalArithmetic arith, long uDecimal)
arith - the arithmetic associated with the valueuDecimal - the unscaled decimal valueArithmeticException - if uDecimal < 0public static final long sqrt(DecimalArithmetic arith, DecimalRounding rounding, long uDecimal)
arith - the arithmetic associated with the valuerounding - the rounding to apply if necessaryuDecimal - the unscaled decimal valueArithmeticException - if uDecimal < 0