public class LongDouble extends AbstractFloat
long double
value and type.
Modifier and Type | Field and Description |
---|---|
static int |
LONG_DOUBLE_LENGTH
The length of
long double type in bytes. |
LICENSE_TYPE, V
Constructor and Description |
---|
LongDouble()
Constructs a
LongDouble object with zero value. |
LongDouble(double ld)
Constructs a
LongDouble object. |
LongDouble(FloatParameter srcVal)
Constructs a
LongDouble object. |
LongDouble(LongDouble t)
Constructs a new
LongDouble parameter. |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone() |
protected byte[] |
convertToBytes(double d)
Converts Java
double value to its native representation. |
protected double |
convertToDouble(byte[] bytes)
Converts native representation of a floating-point value to Java
double value. |
getDebugInfo, getLength, getValue, read, setValue, toString, write
acceptIOPerformer, asReturnValue, dataBufferAssigned, equals, getAlignedLength, getAlignmentRequirement, getDataBuffer, getDataBufferOffset, hashCode, indent, pop, push, read, read, setDataBuffer, toByteArray, write
public static final int LONG_DOUBLE_LENGTH
long double
type in bytes.public LongDouble()
LongDouble
object with zero value.public LongDouble(FloatParameter srcVal)
LongDouble
object.srcVal
- Source floating-point valuepublic LongDouble(double ld)
LongDouble
object.ld
- Source floating-point valuepublic LongDouble(LongDouble t)
LongDouble
parameter.t
- a parameter to take the initial value from.protected double convertToDouble(byte[] bytes)
AbstractFloat
double
value.convertToDouble
in class AbstractFloat
protected byte[] convertToBytes(double d)
AbstractFloat
double
value to its native representation.convertToBytes
in class AbstractFloat