Top Description Fields Constructors Methods
org.apache.poi.ss.util

pack-priv final Class IEEEDouble

extends Object
Class Inheritance

For working with the internals of IEEE 754-2008 'binary64' (double precision) floating point numbers

Field Summary

Modifier and TypeField and Description
public static final int
BIASED_EXPONENT_SPECIAL_VALUE

The value the exponent field gets for all NaN and Infinity values

public static final int
private static final long
private static final int
public static final long
public static final long

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public static int

Returns:

the top 12 bits (sign and biased exponent value)
getBiasedExponent
(long
the 64 bit binary representation of the double value
rawBits
)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

BIASED_EXPONENT_SPECIAL_VALUEback to summary
public static final int BIASED_EXPONENT_SPECIAL_VALUE

The value the exponent field gets for all NaN and Infinity values

EXPONENT_BIASback to summary
public static final int EXPONENT_BIAS
EXPONENT_MASKback to summary
private static final long EXPONENT_MASK
EXPONENT_SHIFTback to summary
private static final int EXPONENT_SHIFT
FRAC_ASSUMED_HIGH_BITback to summary
public static final long FRAC_ASSUMED_HIGH_BIT
FRAC_MASKback to summary
public static final long FRAC_MASK

Constructor Detail

IEEEDoubleback to summary
pack-priv IEEEDouble()

Method Detail

getBiasedExponentback to summary
public static int getBiasedExponent(long rawBits)
Parameters
rawBits:long

the 64 bit binary representation of the double value

Returns:int

the top 12 bits (sign and biased exponent value)