summaryrefslogtreecommitdiffstats
path: root/Modules/bsddbmodule.c
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2000-10-12 06:10:25 (GMT)
committerTim Peters <tim.peters@gmail.com>2000-10-12 06:10:25 (GMT)
commit1d120619d475b1b892585b812dc0d28bd389d097 (patch)
tree901fe8402cb0b6a210d902a808e8285c6ef8dcff /Modules/bsddbmodule.c
parentec1722e8d4e7efc8a6e913a06104874d83c7983b (diff)
downloadcpython-1d120619d475b1b892585b812dc0d28bd389d097.zip
cpython-1d120619d475b1b892585b812dc0d28bd389d097.tar.gz
cpython-1d120619d475b1b892585b812dc0d28bd389d097.tar.bz2
Stop raising OverflowError on underflows reported by libm (errno==ERANGE and
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).
Diffstat (limited to 'Modules/bsddbmodule.c')
0 files changed, 0 insertions, 0 deletions