TD22057 <[EMAIL PROTECTED]> added the comment: Martin is correct. I expected (naively) that struct would zero pad the digits beyond the significant digits of a float. As to whether it's exact or not, see my first message: >>> v=1.8183e-7 >>> v 1.8183000000000001e-07
Since 32 bit floats only have ~7 digits of precision, I expected to get the same thing back. Not 7 digits + garbage. Like I said, you can mark this bug as invalid since Python is just reflecting what C is doing. _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue4114> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com