public class FloatingPoint
extends java.lang.Object
float
, double
, or
java.math.BigDecimal
.Modifier and Type | Field and Description |
---|---|
static int |
IEEE_754_FLOATING_POINT
Supported Unix Big Endian IEEE 754 floating point representation.
|
Modifier | Constructor and Description |
---|---|
private |
FloatingPoint() |
Modifier and Type | Method and Description |
---|---|
private static int |
convertFromByteToInt(byte[] buffer,
int offset)
Convert the byte array to an int.
|
private static long |
convertFromByteToLong(byte[] buffer,
int offset)
Convert the byte array to a long.
|
(package private) static double |
getDouble(byte[] buffer,
int offset)
Build a Java double from an 8-byte floating point representation.
|
(package private) static float |
getFloat(byte[] buffer,
int offset)
Build a Java float from a 4-byte floating point representation.
|
public static final int IEEE_754_FLOATING_POINT
private static final int convertFromByteToInt(byte[] buffer, int offset)
private static final long convertFromByteToLong(byte[] buffer, int offset)
static float getFloat(byte[] buffer, int offset)
Build a Java float from a 4-byte floating point representation.
This includes DERBY types:
java.lang.IllegalArgumentException
- if the specified representation is not recognized.static double getDouble(byte[] buffer, int offset)
java.lang.IllegalArgumentException
- if the specified representation is not recognized.Apache Derby V10.13 Internals - Copyright © 2004,2016 The Apache Software Foundation. All Rights Reserved.