[Python-Dev] Two proposed changes to float formatting (original) (raw)
Eric Smith eric at trueblade.com
Mon Apr 27 01:42:51 CEST 2009
- Previous message: [Python-Dev] Two proposed changes to float formatting
- Next message: [Python-Dev] Bug tracker down?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Mark Dickinson wrote:
(1) Currently, '%f' formatting automatically changes to '%g' formatting for numbers larger than 1e50. For example:
'%f' % 2**166. '93536104789177786765035829293842113257979682750464.000000' '%f' % 2**167. '1.87072e+50' I propose removing this feature for 3.1
I don't think we've stated it on this discussion, but I know from private email with Mark that his proposal is for both %-formatting and for float.format to have this change. I just want to get it on the record here.
Eric.
- Previous message: [Python-Dev] Two proposed changes to float formatting
- Next message: [Python-Dev] Bug tracker down?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]