summaryrefslogtreecommitdiffstats
path: root/Lib/test/output/test_math
Commit message (Collapse)AuthorAgeFilesLines
* Added tests for new degree/radian conversions.Raymond Hettinger2002-05-141-0/+2
|
* Test for math.* exceptional behavior only in verbose mode, so that theTim Peters2000-10-161-1/+0
| | | | | oddball platforms (where, e.g., math.exp(+huge) still fails to raise OverflowError) don't fail the std test suite when run normally.
* Stop raising OverflowError on underflows reported by libm (errno==ERANGE andTim Peters2000-10-121-0/+1
| | | | | | | | | 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).
* remove all occurence of math.rint() from the sourcesPeter Schneider-Kamp2000-08-101-1/+0
| | | | (and yes, "Currintly" also counts <0.5 wink>)
* Added math.rint() -- round according to current IEEE754 modeGuido van Rossum2000-05-111-0/+1
|
* Test output files in their new locationBarry Warsaw1996-12-101-0/+26