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
Build
Compat
Contrib
Demo
Distributions
IDE scripts
Include
Lib
MPW
Modules
PlugIns
Python
Resources
Tools
Unsupported
mwerks
scripts
tclmods
HISTORY -rw-r--r-- 27.2 KB
ReadMe -rw-r--r-- 8.0 KB
ReadMe-dev -rw-r--r-- 1.0 KB
ReadMe-src -rw-r--r-- 563 bytes
Relnotes -rw-r--r-- 2.8 KB
_checkversion.py -rw-r--r-- 417 bytes
errno_unix.h -rw-r--r-- 307 bytes
fopenRF.c -rw-r--r-- 5.9 KB
mkapplet.py -rw-r--r-- 5.7 KB
mwerksglue.c -rw-r--r-- 566 bytes

ReadMe

back to top