cast max uint16_t to float for angle unpack