> > well then it should be ok > not sure if the ff_ prefix is ideal for a static inline function > > Do you think flt_2_uint16 is a better name ? (can probably be interesting to also add same kind of func for float to uint8 in unscaled part) Martin