Make use of unsigned short lut functions in conversion functions