def toDouble(bytes):
 (right, left) = struct.unpack('<Ii', struct.pack(('B' * 8), *bytes[0:8]))
 return (float(left) + (float(right) / (2 ** 32)))

def toDouble ( bytes ) : ( right , left ) = struct . unpack ( '<Ii' , struct . pack ( ( 'B' * 8 ) , * bytes [ 0 : 8 ] ) ) return ( float ( left ) + ( float ( right ) / ( 2 ** 32 ) ) )
name: todouble args: buffer .