On Dec 26, 2019, at 10:58, Richard Damon <rich...@damon-family.org> wrote: > > Note, that NaN values are somewhat rare in most programs, I think they can > only come about by explicitly requesting them (like float("nan") ) or perhaps > with some of the more advanced math packages
You can get them easily just from math itself. Or, once you can get infinite values, you can easily get nan values with just basic arithmetic: >>> 1e1000 - 1e1000 nan _______________________________________________ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/AR5JESVD3VE266GLDPPXPYSJCXY6C2BV/ Code of Conduct: http://python.org/psf/codeofconduct/