Commit Graph

65 Commits

Author SHA1 Message Date
Serhiy Storchaka
32e23e739f Issue #18702: All skipped tests now reported as skipped. 2013-11-03 23:15:46 +02:00
Mark Dickinson
36f6e2c9e0 Issue #18739: Fix inconsistent results from math.log(n) and math.log(long(n)) 2013-10-13 10:55:15 +01:00
Ezio Melotti
c2077b0d9b #11565: Fix several typos. Patch by Piotr Kasprzyk. 2011-03-16 12:34:31 +02:00
Ezio Melotti
2623a37852 Merged revisions 86596 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r86596 | ezio.melotti | 2010-11-20 21:04:17 +0200 (Sat, 20 Nov 2010) | 1 line

  #9424: Replace deprecated assert* methods in the Python test suite.
........
2010-11-21 13:34:58 +00:00
Benjamin Peterson
ba303c82d1 these tests are the result of cpython's incorrect implementation 2010-07-07 15:51:17 +00:00
Benjamin Peterson
bace6764fa be more generous to implementations that have implemented correctly 2010-07-05 17:13:21 +00:00
Mark Dickinson
e979ec8fbf Issue #8986: erfc was raising OverflowError on Linux for arguments in
the (approximate) range (-27.3, 30.0), as a result of an escaped errno
value.
2010-06-13 10:50:29 +00:00
Mark Dickinson
62f7e8b0b8 Fix unused variable in test_factorial. 2010-05-12 19:53:36 +00:00
Mark Dickinson
28d4f9e668 testCopysign was defined twice in test_math; combine the definitions 2010-02-06 23:11:25 +00:00
Mark Dickinson
ed284991e1 Silence -3 warnings. Thanks Florent Xicluna. 2009-12-20 20:23:01 +00:00
Mark Dickinson
9cae178f21 Issue #3366: Add expm1 function to math module. Thanks Eric Smith for
testing on Windows.
2009-12-16 20:13:40 +00:00
Mark Dickinson
9be87bc992 Issue #3366: Add lgamma function to math module. 2009-12-11 17:29:33 +00:00
Mark Dickinson
59ca92093c test_math ulp computation was wrong on big-endian systems 2009-10-17 07:06:37 +00:00
Mark Dickinson
8ca7482cc9 Fix buggy accuracy test 2009-09-30 16:58:01 +00:00
Mark Dickinson
b93fff0a57 Issue #3366: Add gamma function to math module.
(lgamma, erf and erfc to follow).
2009-09-28 18:54:55 +00:00
Mark Dickinson
2985dbb526 Use skipUnless to skip math module tests on non-IEEE 754 platforms. 2009-09-18 21:01:50 +00:00
Benjamin Peterson
5c8da86f3a convert usage of fail* to assert* 2009-06-30 22:57:08 +00:00
Mark Dickinson
0badeef93e Remove unnecessary double negative 2009-04-24 16:37:22 +00:00
Mark Dickinson
6ab635a4f4 Issue #5593: Use more robust test for double-rounding in test_fsum.
While we're at it, use new unittest.skipUnless decorator to
implement skipping for that test.
2009-04-24 16:34:14 +00:00
Mark Dickinson
0f6414a0d6 Rename testSum to testFsum and move it to proper place in test_math.py 2008-07-31 14:48:32 +00:00
Mark Dickinson
fef6b13c32 Rename math.sum to math.fsum 2008-07-30 16:20:10 +00:00
Mark Dickinson
ff5f16e4e5 More modifications to tests for math.sum: replace the Python
version of msum by a version using a different algorithm, and
use the new float.fromhex method to specify test results exactly.
2008-07-29 18:45:38 +00:00
Mark Dickinson
3e9c60c5fe Remove math.sum tests related to overflow, special values, and behaviour
near the extremes of the floating-point range.  (The behaviour of math.sum
should be regarded as undefined in these cases.)
2008-07-27 07:15:29 +00:00
Raymond Hettinger
ecbdd2e9b0 Issue #2138: Add math.factorial(). 2008-06-09 06:54:45 +00:00
Mark Dickinson
8df4e22a28 Fix typo in testSum 2008-05-30 02:46:53 +00:00