22232425262728
bits |= nextSymbol() & 0xFF; bits <<= 8; bits |= nextSymbol() & 0xFF; bits <<= 8; bits |= nextSymbol() & 0xFF; return new SinglePrecisionFloat(Float.intBitsToFloat(bits)); }
6768697071727374
protected DataItem convert(float value) { if (isHalfPrecisionEnough(value)) { return new HalfPrecisionFloat(value); } else { return new SinglePrecisionFloat(value); } }
20212223242526