1
使用Python,我怎样才能从64位位模式获得十进制浮点值?我认为我需要使用struct
,但是我怎样才能解决它?这是我曾尝试:如何将Python中的64位转换为双精度小数?
struct.unpack('<d','0100000011111000011010100000000000000000000000000000000000000000')
error: unpack requires a string argument of length 8