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

Functions for interrogating binary32 (float) values. More...

Collaboration diagram for com.jogamp.math.Binary32:

Static Public Member Functions

static int unpackGetExponentUnbiased (final float d)
 
static int unpackGetSign (final float d)
 
static int unpackGetSignificand (final float d)
 

Detailed Description

Functions for interrogating binary32 (float) values.

Definition at line 35 of file Binary32.java.

Member Function Documentation

◆ unpackGetExponentUnbiased()

static int com.jogamp.math.Binary32.unpackGetExponentUnbiased ( final float  d)
static

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

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

This function will therefore return:

See also
#packSetExponentUnbiasedUnchecked(int)

Definition at line 82 of file Binary32.java.

Here is the caller graph for this function:

◆ unpackGetSign()

static int com.jogamp.math.Binary32.unpackGetSign ( final float  d)
static

Return the sign of the given float value.

Definition at line 97 of file Binary32.java.

Here is the caller graph for this function:

◆ unpackGetSignificand()

static int com.jogamp.math.Binary32.unpackGetSignificand ( final float  d)
static

Return the significand of the given float value.

Definition at line 110 of file Binary32.java.

Here is the caller graph for this function:

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