private static final class RealRepresentation.DoubleRep extends RealRepresentation
RealRepresentation.mantissa() and the RealRepresentation.exponent.
The mantissa in turn
splits into the RealRepresentation.integer and the RealRepresentation.fractional part.RealRepresentation.Cutter, RealRepresentation.DescALIGN_CUT_OFF_LEFT, ALIGN_CUT_OFF_RIGHT, ALIGN_EXCEPTION, ALIGN_LEAVE_UNCHANGED, EXP_CHAR, exponent, fraction, integer, sign| Constructor and Description |
|---|
DoubleRep(double dbl)
Constructs a newly allocated
DoubleRep object
that represents the primitive double argument. |
DoubleRep(Double dbl)
Creates a new
DoubleRep. |
DoubleRep(String dStr)
Constructs a newly allocated
DoubleRep object
that represents the floating-point value of type double
represented by the string. |
alignLeft, alignRight, asInteger, compensatePoint, create, create, create, create, exponent, fill, fraction, hasBlankFraction, hasExponent, hasFraction, hasInteger, initSignExp, integer, mantissa, sign, this2BigDecimal, this2double, this2Double, toString, toString, toStringDecomp, trimExponent, trimFraction, trimIntegerDoubleRep(double dbl)
DoubleRep object
that represents the primitive double argument.dbl - the value to be represented
by this DoubleRep.NumberFormatException - if d is either infinite or not a number.Double(double)DoubleRep(String dStr)
DoubleRep object
that represents the floating-point value of type double
represented by the string.
The string is converted to a double value
as if by the method Double.valueOf(java.lang.String).dStr - a string to be converted
to a DoubleRep.IllegalArgumentException - if d is either infinite or not a number.NumberFormatException - if d has not the appropriate number format.Double(String)DoubleRep(Double dbl)
DoubleRep.
An analog to #RealRepresentation.DoubleRep(double).dbl - a Double object.IllegalArgumentException - if d is either infinite or not a number.Copyright © 2012–2018 Simuline Organization (l2r). All rights reserved.