- scale() - Method in class java.math.BigDecimal
-
Returns the scale of this BigDecimal
.
- scaleByPowerOfTen(int) - Method in class java.math.BigDecimal
-
Returns a BigDecimal whose numerical value is equal to (this
* 10n).
- setBit(int) - Method in class java.math.BigInteger
-
Returns a BigInteger whose value is equivalent to this BigInteger with the designated bit set.
- setScale(int, RoundingMode) - Method in class java.math.BigDecimal
-
Returns a BigDecimal
whose scale is the specified value, and whose unscaled value is determined by
multiplying or dividing this BigDecimal
's unscaled value by the appropriate power of ten to maintain its
overall value.
- setScale(int, int) - Method in class java.math.BigDecimal
-
Returns a BigDecimal
whose scale is the specified value, and whose unscaled value is determined by
multiplying or dividing this BigDecimal
's unscaled value by the appropriate power of ten to maintain its
overall value.
- setScale(int) - Method in class java.math.BigDecimal
-
Returns a BigDecimal
whose scale is the specified value, and whose value is numerically equal to this
BigDecimal
's.
- shiftLeft(int) - Method in class java.math.BigInteger
-
Returns a BigInteger whose value is (this << n)
.
- shiftRight(int) - Method in class java.math.BigInteger
-
Returns a BigInteger whose value is (this >> n)
.
- shortValueExact() - Method in class java.math.BigDecimal
-
Converts this BigDecimal
to a short
, checking for lost information.
- shortValueExact() - Method in class java.math.BigInteger
-
Converts this BigInteger
to a short
, checking for lost information.
- SIGN_BIT_MASK - Static variable in class sun.misc.DoubleConsts
-
Bit mask to isolate the sign bit of a double
.
- SIGN_BIT_MASK - Static variable in class sun.misc.FloatConsts
-
Bit mask to isolate the sign bit of a float
.
- SIGNIF_BIT_MASK - Static variable in class sun.misc.DoubleConsts
-
Bit mask to isolate the significand field of a
double
.
- SIGNIF_BIT_MASK - Static variable in class sun.misc.FloatConsts
-
Bit mask to isolate the significand field of a
float
.
- SIGNIFICAND_WIDTH - Static variable in class sun.misc.DoubleConsts
-
The number of logical bits in the significand of a
double
number, including the implicit bit.
- SIGNIFICAND_WIDTH - Static variable in class sun.misc.FloatConsts
-
The number of logical bits in the significand of a
float
number, including the implicit bit.
- signum() - Method in class java.math.BigDecimal
-
Returns the signum function of this BigDecimal
.
- signum() - Method in class java.math.BigInteger
-
Returns the signum function of this BigInteger.
- stripTrailingZeros() - Method in class java.math.BigDecimal
-
Returns a BigDecimal
which is numerically equal to this one but with any trailing zeros removed from the
representation.
- subtract(BigDecimal) - Method in class java.math.BigDecimal
-
Returns a BigDecimal
whose value is (this -
subtrahend)
, and whose scale is max(this.scale(),
subtrahend.scale())
.
- subtract(BigDecimal, MathContext) - Method in class java.math.BigDecimal
-
Returns a BigDecimal
whose value is (this - subtrahend)
, with rounding according to the context
settings.
- subtract(BigInteger) - Method in class java.math.BigInteger
-
Returns a BigInteger whose value is (this - val)
.
- sun.misc - package sun.misc
-