Staging
v0.5.1
https://github.com/python/cpython
Revision a0de26c3427b63efcd0a678c5d686b4df9f105e4 authored by Mark Dickinson on 30 April 2008, 23:30:57 UTC, committed by Mark Dickinson on 30 April 2008, 23:30:57 UTC
particular, the error message now allows one to distinguish between a
ValueError arising from a singularity (e.g. log(0.)), which would
usually produce +-infinity in non-stop mode, and a ValueError resulting
from an invalid input (e.g. sqrt(-1.)), which would normally produce a
NaN in non-stop mode.
1 parent 3cbf15f
History
Tip revision: a0de26c3427b63efcd0a678c5d686b4df9f105e4 authored by Mark Dickinson on 30 April 2008, 23:30:57 UTC
Make floating-point exception error messages slightly more verbose: in
Tip revision: a0de26c
File Mode Size
Grammar -rw-r--r-- 5.4 KB

back to top