[Python-Dev] PEP 3101: floats format 'f' and 'F' (original) (raw)
Mark Dickinson dickinsm at gmail.com
Wed Jul 16 17:07:03 CEST 2008
- Previous message: [Python-Dev] PEP 3101: floats format 'f' and 'F'
- Next message: [Python-Dev] PEP 3101: floats format 'f' and 'F'
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Wed, Jul 16, 2008 at 3:35 PM, Eric Smith <eric+python-dev at trueblade.com> wrote:
Does anyone know why 'F' is the same as 'f'? Wouldn't it make more sense to either drop it, or make it convert the exponent to upper case
What exponent? Isn't the point of 'f' formatting that there is no exponent?
In C, the only difference seems to be that a NaN or infinity formatted with '%F' is turned into "NAN" or "INF" instead of "nan" or "inf".
Mark
- Previous message: [Python-Dev] PEP 3101: floats format 'f' and 'F'
- Next message: [Python-Dev] PEP 3101: floats format 'f' and 'F'
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]