• Tim Peters's avatar
    Stop raising OverflowError on underflows reported by libm (errno==ERANGE and · 1d120619
    Tim Peters yazdı
    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).
    1d120619
Adı
Son kayıt (commit)
Son güncelleme
BeOS Loading commit data...
Demo Loading commit data...
Doc Loading commit data...
Grammar Loading commit data...
Include Loading commit data...
Lib Loading commit data...
Mac Loading commit data...
Misc Loading commit data...
Modules Loading commit data...
Objects Loading commit data...
PC Loading commit data...
PCbuild Loading commit data...
Parser Loading commit data...
Python Loading commit data...
Tools Loading commit data...
.cvsignore Loading commit data...
.hgtags Loading commit data...
LICENSE Loading commit data...
Makefile.in Loading commit data...
README Loading commit data...
acconfig.h Loading commit data...
config.h.in Loading commit data...
configure Loading commit data...
configure.in Loading commit data...
install-sh Loading commit data...