Portably generating infinity and NaN

"Martin v. Löwis" martin at v.loewis.de
Fri Apr 13 18:48:49 EDT 2007


> (Note the absence of a demonstration on Windows.)  Can't the above be
> blessed as the One True Way and wormed around in floatmodule.c for those
> platforms where float'ing "NaN" or "Inf" doesn't currently work?

How would you do the worming-around?

Regards,
Martin



More information about the Python-list mailing list