Closed BishopWolf closed 3 weeks ago
Please add support for atomic doubles. Although it is easy to implement using struct pack and unpack. It is better to have something handled natively.
Naive implementation
>>> d = 1.234 >>> b = struct.pack('d', d) >>> b b'X9\xb4\xc8v\xbe\xf3?' >>> d2, = struct.unpack('d', b) >>> d2 1.234
Sure let me look into it 🤔 .... Good suggestion!
Ok version 0.0.13 should do it -- see the updated README and DOCS 🫥 .
0.0.13
Please add support for atomic doubles. Although it is easy to implement using struct pack and unpack. It is better to have something handled natively.
Naive implementation