Staging
v0.5.1
https://github.com/python/cpython
Revision 1d120619d475b1b892585b812dc0d28bd389d097 authored by Tim Peters on 12 October 2000, 06:10:25 UTC, committed by Tim Peters on 12 October 2000, 06:10:25 UTC
libm result is 0).  Cautiously add a few libm exception test cases:
1. That exp(-huge) returns 0 without exception.
2. That exp(+huge) triggers OverflowError.
3. That sqrt(-1) raises ValueError specifically (apparently under glibc linked
   with -lieee, it was raising OverflowError due to an accident of the way
   mathmodule.c's CHECK() macro happened to deal with Infs and NaNs under gcc).
1 parent ec1722e
History
Tip revision: 1d120619d475b1b892585b812dc0d28bd389d097 authored by Tim Peters on 12 October 2000, 06:10:25 UTC
Stop raising OverflowError on underflows reported by libm (errno==ERANGE and
Tip revision: 1d12061
File Mode Size
BeOS
Demo
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Python
Tools
.cvsignore -rw-r--r-- 79 bytes
.hgtags -rw-r--r-- 1.7 KB
LICENSE -rw-r--r-- 8.0 KB
Makefile.in -rw-r--r-- 17.4 KB
README -rw-r--r-- 35.1 KB
acconfig.h -rw-r--r-- 5.4 KB
config.h.in -rw-r--r-- 16.0 KB
configure -rwxr-xr-x 167.6 KB
configure.in -rw-r--r-- 34.0 KB
install-sh -rwxr-xr-x 2.2 KB

README

back to top