[SciPy-user] Convert int 64bits to float

Ross Williamson ross.williamson@usap....
Thu Feb 26 04:23:27 CST 2009

Hi everyone

I need to convert a set of bits (64) held in an int64 variable to the 
equivalent (bit) float64.

e.g. number = 5975615269021 - float(number) will not work it will just 
convert it to 5975615269021.00 not whatever it is as a float from the 
raw bits.



More information about the SciPy-user mailing list