add hex2float and hex2double