JOGL v2.6.0-rc-20250706
JOGL, High-Performance Graphics Binding for Java™ (public API).
com.jogamp.opengl.test.junit.math.TestBinary16NOUI Class Reference
Inheritance diagram for com.jogamp.opengl.test.junit.math.TestBinary16NOUI:
Collaboration diagram for com.jogamp.opengl.test.junit.math.TestBinary16NOUI:

Public Member Functions

void testExponentIdentity ()
 Exponents in the range [-15, 16] are encoded and decoded correctly. More...
 
void testInfinite ()
 Infinities are infinite. More...
 
void testInfinityExponent ()
 The unencoded exponent of infinity is 16. More...
 
void testInfinityNegativeExponent ()
 The unencoded exponent of infinity is 16. More...
 
void testInfinityNegativeSign ()
 The sign of negative infinity is 1. More...
 
void testInfinityNegativeSignificand ()
 The significand of infinity is 0. More...
 
void testInfinitySign ()
 The sign of positive infinity is 0. More...
 
void testInfinitySignificand ()
 The significand of infinity is 0. More...
 
void testNaN ()
 NaN is NaN. More...
 
void testPackDoubleNaN ()
 Packing NaN results in NaN. More...
 
void testPackDoubleNegativeInfinity ()
 Packing negative infinity results in negative infinity. More...
 
void testPackDoubleNegativeZero ()
 Packing negative zero results in negative zero. More...
 
void testPackDoublePositiveInfinity ()
 Packing positive infinity results in positive infinity. More...
 
void testPackDoublePositiveZero ()
 Packing positive zero results in positive zero. More...
 
void testPackDoubleUnpackFloat ()
 Integers in the range [0, 65520] should be representable. More...
 
void testPackFloatDoubleEquivalent ()
 Integers in the range [0, 65520] should be representable. More...
 
void testPackFloatNaN ()
 Packing NaN results in NaN. More...
 
void testPackFloatNegativeInfinity ()
 Packing negative infinity results in negative infinity. More...
 
void testPackFloatNegativeZero ()
 Packing negative zero results in negative zero. More...
 
void testPackFloatPositiveInfinity ()
 Packing positive infinity results in positive infinity. More...
 
void testPackFloatPositiveZero ()
 Packing positive zero results in positive zero. More...
 
void testPackFloatUnpackDouble ()
 Integers in the range [0, 65520] should be representable. More...
 
void testPackUnpackDouble ()
 Integers in the range [0, 65520] should be representable. More...
 
void testPackUnpackFloat ()
 Integers in the range [0, 65520] should be representable. More...
 
void testSignIdentity ()
 Signs in the range [0, 1] are encoded and decoded correctly. More...
 
void testSignificandIdentity ()
 Significands in the range [0, 1023] are encoded and decoded correctly. More...
 
void testUnpackDoubleNaN ()
 Unpacking NaN results in NaN. More...
 
void testUnpackDoubleNegativeInfinity ()
 Unpacking negative infinity results in negative infinity. More...
 
void testUnpackDoubleNegativeZero ()
 Unpacking negative zero results in negative zero. More...
 
void testUnpackDoubleOne ()
 Unpacking 1.0 results in 1.0. More...
 
void testUnpackDoubleOneNegative ()
 Unpacking -1.0 results in -1.0. More...
 
void testUnpackDoublePositiveInfinity ()
 Unpacking positive infinity results in positive infinity. More...
 
void testUnpackDoublePositiveZero ()
 Unpacking positive zero results in positive zero. More...
 
void testUnpackDoubleTwo ()
 Unpacking 2.0 results in 2.0. More...
 
void testUnpackDoubleTwoNegative ()
 Unpacking -2.0 results in -2.0. More...
 
void testUnpackFloatNaN ()
 Unpacking NaN results in NaN. More...
 
void testUnpackFloatNegativeInfinity ()
 Unpacking negative infinity results in negative infinity. More...
 
void testUnpackFloatNegativeZero ()
 Unpacking negative zero results in negative zero. More...
 
void testUnpackFloatOne ()
 Unpacking 1.0 results in 1.0. More...
 
void testUnpackFloatOneNegative ()
 Unpacking -1.0 results in -1.0. More...
 
- Public Member Functions inherited from com.jogamp.opengl.test.junit.util.UITestCase
int getMaxTestNameLen ()
 
String getSnapshotFilename (final int sn, String postSNDetail, final GLCapabilitiesImmutable caps, final int width, final int height, final boolean sinkHasAlpha, String fileSuffix, final String destPath)
 
void snapshot (final int sn, final String postSNDetail, final GL gl, final GLReadBufferUtil readBufferUtil, final String fileSuffix, final String destPath)
 Takes a snapshot of the drawable's current front framebuffer. More...
 

Static Public Member Functions

static void main (final String args[])
 
- Static Public Member Functions inherited from com.jogamp.opengl.test.junit.util.UITestCase
static void setResetXRandRIfX11AfterClass ()
 
static int resetXRandRIfX11 ()
 Iterates through all outputs and sets the preferred mode and normal rotation using RandR 1.3. More...
 
static int processCommand (final String[] cmdline, final OutputStream outstream, final StringBuilder outstring, final String outPrefix)
 
static final void oneTimeSetUpUITest ()
 
static final void oneTimeTearDownUITest ()
 

Detailed Description

Definition at line 41 of file TestBinary16NOUI.java.

Member Function Documentation

◆ main()

static void com.jogamp.opengl.test.junit.math.TestBinary16NOUI.main ( final String  args[])
static

Definition at line 704 of file TestBinary16NOUI.java.

Here is the call graph for this function:

◆ testExponentIdentity()

void com.jogamp.opengl.test.junit.math.TestBinary16NOUI.testExponentIdentity ( )

Exponents in the range [-15, 16] are encoded and decoded correctly.

Definition at line 50 of file TestBinary16NOUI.java.

Here is the call graph for this function:

◆ testInfinite()

void com.jogamp.opengl.test.junit.math.TestBinary16NOUI.testInfinite ( )

Infinities are infinite.

Definition at line 67 of file TestBinary16NOUI.java.

Here is the call graph for this function:

◆ testInfinityExponent()

void com.jogamp.opengl.test.junit.math.TestBinary16NOUI.testInfinityExponent ( )

The unencoded exponent of infinity is 16.

Definition at line 82 of file TestBinary16NOUI.java.

Here is the call graph for this function:

◆ testInfinityNegativeExponent()

void com.jogamp.opengl.test.junit.math.TestBinary16NOUI.testInfinityNegativeExponent ( )

The unencoded exponent of infinity is 16.

Definition at line 95 of file TestBinary16NOUI.java.

Here is the call graph for this function:

◆ testInfinityNegativeSign()

void com.jogamp.opengl.test.junit.math.TestBinary16NOUI.testInfinityNegativeSign ( )

The sign of negative infinity is 1.

Definition at line 108 of file TestBinary16NOUI.java.

Here is the call graph for this function:

◆ testInfinityNegativeSignificand()

void com.jogamp.opengl.test.junit.math.TestBinary16NOUI.testInfinityNegativeSignificand ( )

The significand of infinity is 0.

Definition at line 120 of file TestBinary16NOUI.java.

Here is the call graph for this function:

◆ testInfinitySign()

void com.jogamp.opengl.test.junit.math.TestBinary16NOUI.testInfinitySign ( )

The sign of positive infinity is 0.

Definition at line 131 of file TestBinary16NOUI.java.

Here is the call graph for this function:

◆ testInfinitySignificand()

void com.jogamp.opengl.test.junit.math.TestBinary16NOUI.testInfinitySignificand ( )

The significand of infinity is 0.

Definition at line 143 of file TestBinary16NOUI.java.

Here is the call graph for this function:

◆ testNaN()

void com.jogamp.opengl.test.junit.math.TestBinary16NOUI.testNaN ( )

NaN is NaN.

Definition at line 154 of file TestBinary16NOUI.java.

Here is the call graph for this function:

◆ testPackDoubleNaN()

void com.jogamp.opengl.test.junit.math.TestBinary16NOUI.testPackDoubleNaN ( )

Packing NaN results in NaN.

Definition at line 176 of file TestBinary16NOUI.java.

Here is the call graph for this function:

◆ testPackDoubleNegativeInfinity()

void com.jogamp.opengl.test.junit.math.TestBinary16NOUI.testPackDoubleNegativeInfinity ( )

Packing negative infinity results in negative infinity.

Definition at line 189 of file TestBinary16NOUI.java.

Here is the call graph for this function:

◆ testPackDoubleNegativeZero()

void com.jogamp.opengl.test.junit.math.TestBinary16NOUI.testPackDoubleNegativeZero ( )

Packing negative zero results in negative zero.

Definition at line 201 of file TestBinary16NOUI.java.

Here is the call graph for this function:

◆ testPackDoublePositiveInfinity()

void com.jogamp.opengl.test.junit.math.TestBinary16NOUI.testPackDoublePositiveInfinity ( )

Packing positive infinity results in positive infinity.

Definition at line 212 of file TestBinary16NOUI.java.

Here is the call graph for this function:

◆ testPackDoublePositiveZero()

void com.jogamp.opengl.test.junit.math.TestBinary16NOUI.testPackDoublePositiveZero ( )

Packing positive zero results in positive zero.

Definition at line 224 of file TestBinary16NOUI.java.

Here is the call graph for this function:

◆ testPackDoubleUnpackFloat()

void com.jogamp.opengl.test.junit.math.TestBinary16NOUI.testPackDoubleUnpackFloat ( )

Integers in the range [0, 65520] should be representable.

Definition at line 235 of file TestBinary16NOUI.java.

Here is the call graph for this function:

◆ testPackFloatDoubleEquivalent()

void com.jogamp.opengl.test.junit.math.TestBinary16NOUI.testPackFloatDoubleEquivalent ( )

Integers in the range [0, 65520] should be representable.

Definition at line 280 of file TestBinary16NOUI.java.

Here is the call graph for this function:

◆ testPackFloatNaN()

void com.jogamp.opengl.test.junit.math.TestBinary16NOUI.testPackFloatNaN ( )

Packing NaN results in NaN.

Definition at line 308 of file TestBinary16NOUI.java.

Here is the call graph for this function:

◆ testPackFloatNegativeInfinity()

void com.jogamp.opengl.test.junit.math.TestBinary16NOUI.testPackFloatNegativeInfinity ( )

Packing negative infinity results in negative infinity.

Definition at line 321 of file TestBinary16NOUI.java.

Here is the call graph for this function:

◆ testPackFloatNegativeZero()

void com.jogamp.opengl.test.junit.math.TestBinary16NOUI.testPackFloatNegativeZero ( )

Packing negative zero results in negative zero.

Definition at line 333 of file TestBinary16NOUI.java.

Here is the call graph for this function:

◆ testPackFloatPositiveInfinity()

void com.jogamp.opengl.test.junit.math.TestBinary16NOUI.testPackFloatPositiveInfinity ( )

Packing positive infinity results in positive infinity.

Definition at line 344 of file TestBinary16NOUI.java.

Here is the call graph for this function:

◆ testPackFloatPositiveZero()

void com.jogamp.opengl.test.junit.math.TestBinary16NOUI.testPackFloatPositiveZero ( )

Packing positive zero results in positive zero.

Definition at line 356 of file TestBinary16NOUI.java.

Here is the call graph for this function:

◆ testPackFloatUnpackDouble()

void com.jogamp.opengl.test.junit.math.TestBinary16NOUI.testPackFloatUnpackDouble ( )

Integers in the range [0, 65520] should be representable.

Definition at line 367 of file TestBinary16NOUI.java.

Here is the call graph for this function:

◆ testPackUnpackDouble()

void com.jogamp.opengl.test.junit.math.TestBinary16NOUI.testPackUnpackDouble ( )

Integers in the range [0, 65520] should be representable.

Definition at line 412 of file TestBinary16NOUI.java.

Here is the call graph for this function:

◆ testPackUnpackFloat()

void com.jogamp.opengl.test.junit.math.TestBinary16NOUI.testPackUnpackFloat ( )

Integers in the range [0, 65520] should be representable.

Definition at line 457 of file TestBinary16NOUI.java.

Here is the call graph for this function:

◆ testSignIdentity()

void com.jogamp.opengl.test.junit.math.TestBinary16NOUI.testSignIdentity ( )

Signs in the range [0, 1] are encoded and decoded correctly.

Definition at line 499 of file TestBinary16NOUI.java.

Here is the call graph for this function:

◆ testSignificandIdentity()

void com.jogamp.opengl.test.junit.math.TestBinary16NOUI.testSignificandIdentity ( )

Significands in the range [0, 1023] are encoded and decoded correctly.

Definition at line 518 of file TestBinary16NOUI.java.

Here is the call graph for this function:

◆ testUnpackDoubleNaN()

void com.jogamp.opengl.test.junit.math.TestBinary16NOUI.testUnpackDoubleNaN ( )

Unpacking NaN results in NaN.

Definition at line 535 of file TestBinary16NOUI.java.

Here is the call graph for this function:

◆ testUnpackDoubleNegativeInfinity()

void com.jogamp.opengl.test.junit.math.TestBinary16NOUI.testUnpackDoubleNegativeInfinity ( )

Unpacking negative infinity results in negative infinity.

Definition at line 547 of file TestBinary16NOUI.java.

Here is the call graph for this function:

◆ testUnpackDoubleNegativeZero()

void com.jogamp.opengl.test.junit.math.TestBinary16NOUI.testUnpackDoubleNegativeZero ( )

Unpacking negative zero results in negative zero.

Definition at line 559 of file TestBinary16NOUI.java.

Here is the call graph for this function:

◆ testUnpackDoubleOne()

void com.jogamp.opengl.test.junit.math.TestBinary16NOUI.testUnpackDoubleOne ( )

Unpacking 1.0 results in 1.0.

Definition at line 570 of file TestBinary16NOUI.java.

Here is the call graph for this function:

◆ testUnpackDoubleOneNegative()

void com.jogamp.opengl.test.junit.math.TestBinary16NOUI.testUnpackDoubleOneNegative ( )

Unpacking -1.0 results in -1.0.

Definition at line 584 of file TestBinary16NOUI.java.

Here is the call graph for this function:

◆ testUnpackDoublePositiveInfinity()

void com.jogamp.opengl.test.junit.math.TestBinary16NOUI.testUnpackDoublePositiveInfinity ( )

Unpacking positive infinity results in positive infinity.

Definition at line 598 of file TestBinary16NOUI.java.

Here is the call graph for this function:

◆ testUnpackDoublePositiveZero()

void com.jogamp.opengl.test.junit.math.TestBinary16NOUI.testUnpackDoublePositiveZero ( )

Unpacking positive zero results in positive zero.

Definition at line 610 of file TestBinary16NOUI.java.

Here is the call graph for this function:

◆ testUnpackDoubleTwo()

void com.jogamp.opengl.test.junit.math.TestBinary16NOUI.testUnpackDoubleTwo ( )

Unpacking 2.0 results in 2.0.

Definition at line 621 of file TestBinary16NOUI.java.

Here is the call graph for this function:

◆ testUnpackDoubleTwoNegative()

void com.jogamp.opengl.test.junit.math.TestBinary16NOUI.testUnpackDoubleTwoNegative ( )

Unpacking -2.0 results in -2.0.

Definition at line 635 of file TestBinary16NOUI.java.

Here is the call graph for this function:

◆ testUnpackFloatNaN()

void com.jogamp.opengl.test.junit.math.TestBinary16NOUI.testUnpackFloatNaN ( )

Unpacking NaN results in NaN.

Definition at line 647 of file TestBinary16NOUI.java.

Here is the call graph for this function:

◆ testUnpackFloatNegativeInfinity()

void com.jogamp.opengl.test.junit.math.TestBinary16NOUI.testUnpackFloatNegativeInfinity ( )

Unpacking negative infinity results in negative infinity.

Definition at line 659 of file TestBinary16NOUI.java.

Here is the call graph for this function:

◆ testUnpackFloatNegativeZero()

void com.jogamp.opengl.test.junit.math.TestBinary16NOUI.testUnpackFloatNegativeZero ( )

Unpacking negative zero results in negative zero.

Definition at line 671 of file TestBinary16NOUI.java.

Here is the call graph for this function:

◆ testUnpackFloatOne()

void com.jogamp.opengl.test.junit.math.TestBinary16NOUI.testUnpackFloatOne ( )

Unpacking 1.0 results in 1.0.

Definition at line 682 of file TestBinary16NOUI.java.

Here is the call graph for this function:

◆ testUnpackFloatOneNegative()

void com.jogamp.opengl.test.junit.math.TestBinary16NOUI.testUnpackFloatOneNegative ( )

Unpacking -1.0 results in -1.0.

Definition at line 696 of file TestBinary16NOUI.java.

Here is the call graph for this function:

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