[Python-Dev] New math functions
Raymond Hettinger
python at rcn.com
Tue Feb 12 07:52:30 CET 2008
More information about the Python-Dev mailing list
Tue Feb 12 07:52:30 CET 2008
- Previous message: [Python-Dev] Error in PEP3118?
- Next message: [Python-Dev] New math functions
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Was some thought given to possibly adding these as
float methods instead of as separate functions?
float.isinf()
float.isnan()
Also, it would be useful to have a new method, float.is_integer(). This would be better than the current approach where we make the
test: if x == floor(x).
Raymond
- Previous message: [Python-Dev] Error in PEP3118?
- Next message: [Python-Dev] New math functions
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list