Float16Layout

public final class Float16Layout

Data layout that converts 32-bit floats from/to 16-bit, accordingly to the IEEE-754 half-precision floating point specification.

Public Constructors

Public Methods

float
readFloat(ShortDataBuffer buffer, long index)
void
writeFloat(ShortDataBuffer buffer, float value, long index)

Inherited Methods

Public Constructors

public Float16Layout ()

Public Methods

public float readFloat (ShortDataBuffer buffer, long index)

public void writeFloat (ShortDataBuffer buffer, float value, long index)