A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2011-April/111143.html below:

[Python-Dev] Not-a-Number

[Python-Dev] Not-a-Number [Python-Dev] Not-a-NumberGreg Ewing greg.ewing at canterbury.ac.nz
Sat Apr 30 01:50:47 CEST 2011
Steven D'Aprano wrote:

> If I do x = 0.0/0 I get an exception instead of a NAN.

But the exception you get is ZeroDivisionError, so I think
Python is catching this before you get to the stage of
producing a NaN.

-- 
Greg
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4