public boolean hasTiffFloatingPointRasterData() throws ImagingException {
        if (!hasTiffImageData()) {
            return false;
        }
        final short[] s = getFieldValue(TiffTagConstants.TIFF_TAG_SAMPLE_FORMAT, false);
        return s != null && s.length > 0 && s[0] == TiffTagConstants.SAMPLE_FORMAT_VALUE_IEEE_FLOATING_POINT;

    }
Indicates whether the directory definition specifies a float-point data format.

@return {@code true} if the directory contains floating point data; otherwise, {@code false}
@throws ImagingException in the event of an invalid or malformed specification.
src/main/java/org/apache/commons/imaging/formats/tiff/TiffDirectory.java