JOGL v2.6.0-rc-20250712
JOGL, High-Performance Graphics Binding for Java™ (public API).
com.jogamp.math.Binary64 Class Reference

Functions for interrogating binary64 (double) values. More...

Collaboration diagram for com.jogamp.math.Binary64:

Static Public Member Functions

static long unpackGetExponentUnbiased (final double d)
 
static long unpackGetSignificand (final double d)
 
static long unpackGetSign (final double d)
 

Detailed Description

Functions for interrogating binary64 (double) values.

Definition at line 35 of file Binary64.java.

Member Function Documentation

◆ unpackGetExponentUnbiased()

static long com.jogamp.math.Binary64.unpackGetExponentUnbiased ( final double  d)
static

Extract and unbias the exponent of the given packed double value.

The exponent is encoded biased as a number in the range [0, 2047], with 0 indicating that the number is subnormal and [1, 2046] denoting the actual exponent plus BIAS. Infinite and NaN values always have a biased exponent of 2047.

This function will therefore return:

See also
#packSetExponentUnbiasedUnchecked(int)

Definition at line 82 of file Binary64.java.

Here is the caller graph for this function:

◆ unpackGetSign()

static long com.jogamp.math.Binary64.unpackGetSign ( final double  d)
static

Return the sign of the given double value.

Definition at line 110 of file Binary64.java.

Here is the caller graph for this function:

◆ unpackGetSignificand()

static long com.jogamp.math.Binary64.unpackGetSignificand ( final double  d)
static

Return the significand of the given double value.

Definition at line 97 of file Binary64.java.

Here is the caller graph for this function:

The documentation for this class was generated from the following file: