ValueDouble

Implementation of the DOUBLE data type.

Methods
static ValueDouble get(double d)
Get or create double value for the given double.
static ValueDouble get(double d)
Get or create double value for the given double.
Parameters:
d - the double
Returns:
the value
Value add(Value v)
Value add(Value v)
int compareSecure(Value o, CompareMode mode)
int compareSecure(Value o, CompareMode mode)
Value divide(Value v)
Value divide(Value v)
boolean equals(Object other)
boolean equals(Object other)
int getDisplaySize()
int getDisplaySize()
double getDouble()
double getDouble()
Object getObject()
Object getObject()
long getPrecision()
long getPrecision()
String getSQL()
String getSQL()
int getScale()
int getScale()
int getSignum()
int getSignum()
String getString()
String getString()
int getType()
int getType()
int hashCode()
int hashCode()
ValueDouble modulus(Value v)
ValueDouble modulus(Value v)
Value multiply(Value v)
Value multiply(Value v)
Value negate()
Value negate()
void set(PreparedStatement prep, int parameterIndex)
void set(PreparedStatement prep, int parameterIndex) throws SQLException
Value subtract(Value v)
Value subtract(Value v)

Fields
static int DISPLAY_SIZE = 24
static int PRECISION = 17
static long ZERO_BITS

PRECISION = 17

The precision in digits.

DISPLAY_SIZE = 24

The maximum display size of a double. Example: -3.3333333333333334E-100

ZERO_BITS

Double.doubleToLongBits(0.0)