float 64的时候将上面函数中的32转为64即可
直接使用float(i) 或者 int(f) 直接进行转换即可,雷同,byte(x)...
(转自:http://blog.csdn.net/wh_luosangnanka5/article/details/9664959)