float point convert to fixed point in c language.