can I get 0./0. to return nan instead of exception?

wxjmfauth at gmail.com wxjmfauth at gmail.com
Thu Jun 19 09:17:15 EDT 2014


Le jeudi 19 juin 2014 13:50:37 UTC+2, Chris "Kwpolska" Warrick a écrit :
> 
> > Check if the float x is a NaN (not a number). [...]


=============

Before or after you compute a division?

(Or are you applying the Flexible String Representation logic?)

jmf



More information about the Python-list mailing list