Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Reverting the "unixware7" patch: atan2(0, 1) should be 0, regardless of | Tim Peters | 2001-04-12 | 1 | -5/+1 |
| | | | | | platform. If it returns pi on the unixware7 platform, they have a bug in their libm atan2. | ||||
* | Unixware 7 support by Billy G. Allie (SF patch 413011) | Guido van Rossum | 2001-04-11 | 1 | -1/+5 |
| | |||||
* | Update the code to better reflect recommended style: | Fred Drake | 2000-12-12 | 1 | -1/+1 |
| | | | | | Use != instead of <> since <> is documented as "obsolescent". Use "is" and "is not" when comparing with None or type objects. | ||||
* | Make reindent.py happy (convert everything to 4-space indents!). | Fred Drake | 2000-10-23 | 1 | -9/+9 |
| | |||||
* | Test for math.* exceptional behavior only in verbose mode, so that the | Tim Peters | 2000-10-16 | 1 | -30/+40 |
| | | | | | oddball platforms (where, e.g., math.exp(+huge) still fails to raise OverflowError) don't fail the std test suite when run normally. | ||||
* | A Mystery: I somehow managed to delete the last two lines of my test_math.py | Tim Peters | 2000-10-12 | 1 | -0/+2 |
| | | | | changes. Here restoring them. | ||||
* | Stop raising OverflowError on underflows reported by libm (errno==ERANGE and | Tim Peters | 2000-10-12 | 1 | -0/+29 |
| | | | | | | | | | 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 sources | Peter Schneider-Kamp | 2000-08-10 | 1 | -12/+0 |
| | | | | (and yes, "Currintly" also counts <0.5 wink>) | ||||
* | Trent Mick <trentm@activestate.com>: | Fred Drake | 2000-06-01 | 1 | -4/+10 |
| | | | | | Fix test of the "math" module so it does not break on platforms that do not offer rint(); just skip that portion of the test in that case. | ||||
* | Added math.rint() -- round according to current IEEE754 mode | Guido van Rossum | 2000-05-11 | 1 | -0/+6 |
| | |||||
* | Subtle hack so the eps printed is not dependent on the formatting | Guido van Rossum | 1996-08-29 | 1 | -2/+3 |
| | | | | habits of the C library we happen to use... | ||||
* | Added test for math module | Guido van Rossum | 1996-08-08 | 1 | -0/+153 |