if (value > Long.MAX_VALUE || value < Long.MIN_VALUE)
if (Math.abs(value) > Long.MAX_VALUE)
    void setDouble(double value) throws java.sql.SQLException {        // check if value is within bounds        if (value > Long.MAX_VALUE ||            value < Long.MIN_VALUE)                throw (SQLException)createException(                    DOUBLE_CONVERSION_ERROR).fillInStackTrace();        setLong((long)value);    }