Message74700
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. |
|
Date |
User |
Action |
Args |
2008-10-13 21:59:23 | TD22057 | set | recipients:
+ TD22057, loewis, vstinner |
2008-10-13 21:59:23 | TD22057 | set | messageid: <1223935163.36.0.318944961997.issue4114@psf.upfronthosting.co.za> |
2008-10-13 21:59:22 | TD22057 | link | issue4114 messages |
2008-10-13 21:59:22 | TD22057 | create | |
|