add support for < 8 byte floats