new hex function, ´keep sync with fast_atof.h