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
example_nt
os2vacpp
src
utils
vc15_lib
vc15_w31
wat_dos
wat_os2
WinMain.c -rw-r--r-- 484 bytes
_winreg.c -rw-r--r-- 41.9 KB
config.c -rw-r--r-- 2.6 KB
config.h -rw-r--r-- 19.9 KB
dl_nt.c -rw-r--r-- 906 bytes
dllbase_nt.txt -rw-r--r-- 2.2 KB
frozen_dllmain.c -rw-r--r-- 3.6 KB
getpathp.c -rw-r--r-- 15.1 KB
import_nt.c -rw-r--r-- 2.4 KB
make8x3.py -rw-r--r-- 2.2 KB
makesrc.exe -rw-r--r-- 25.0 KB
msvcrtmodule.c -rwxr-xr-x 4.2 KB
py.ico -rw-r--r-- 766 bytes
pyc.ico -rw-r--r-- 766 bytes
pycon.ico -rw-r--r-- 766 bytes
pyth_w31.def -rw-r--r-- 128 bytes
python.mk -rw-r--r-- 234 bytes
python.wpj -rw-r--r-- 412 bytes
python_exe.rc -rw-r--r-- 49 bytes
python_nt.rc -rw-r--r-- 1.4 KB
readme.txt -rw-r--r-- 5.5 KB
testpy.py -rw-r--r-- 850 bytes
w9xpopen.c -rw-r--r-- 1.7 KB
winsound.c -rw-r--r-- 4.4 KB

readme.txt

back to top