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
.cvsignore -rw-r--r-- 31 bytes
Grammar -rw-r--r-- 4.7 KB
Makefile.in -rw-r--r-- 981 bytes

back to top