summaryrefslogtreecommitdiff
path: root/Lib/test/test_math.py
AgeCommit message (Expand)AuthorLines
2009-12-20Silence -3 warnings. Thanks Florent Xicluna.Mark Dickinson-2/+4
2009-12-16Issue #3366: Add expm1 function to math module. Thanks Eric Smith forMark Dickinson-7/+6
2009-12-11Issue #3366: Add lgamma function to math module.Mark Dickinson-5/+45
2009-10-17test_math ulp computation was wrong on big-endian systemsMark Dickinson-1/+1
2009-09-30Fix buggy accuracy testMark Dickinson-1/+1
2009-09-28Issue #3366: Add gamma function to math module.Mark Dickinson-0/+88
2009-09-18Use skipUnless to skip math module tests on non-IEEE 754 platforms.Mark Dickinson-31/+34
2009-06-30convert usage of fail* to assert*Benjamin Peterson-74/+74
2009-04-24Remove unnecessary double negativeMark Dickinson-1/+1
2009-04-24Issue #5593: Use more robust test for double-rounding in test_fsum.Mark Dickinson-8/+9
2008-07-31Rename testSum to testFsum and move it to proper place in test_math.pyMark Dickinson-97/+96
2008-07-30Rename math.sum to math.fsumMark Dickinson-7/+7
2008-07-29More modifications to tests for math.sum: replace the PythonMark Dickinson-39/+39
2008-07-27Remove math.sum tests related to overflow, special values, and behaviourMark Dickinson-65/+10
2008-06-09Issue #2138: Add math.factorial().Raymond Hettinger-0/+15
2008-05-30Fix typo in testSumMark Dickinson-1/+1
2008-05-23Skip math.sum tests on non IEEE 754 platforms, and on IEEE 754 platformsMark Dickinson-0/+16
2008-05-23Better error reporting in test_math.pyMark Dickinson-0/+4
2008-05-23Add tests for math.sum (Issue #2819)Mark Dickinson-0/+136
2008-05-09Issue #2487. math.ldexp(x, n) raised OverflowError when n was large andMark Dickinson-0/+18
2008-04-20Add test for tanh(-0.) == -0. on IEEE 754 systemsMark Dickinson-0/+58
2008-04-20Yet more explicit special case handling to makeMark Dickinson-0/+12
2008-04-20Report additional diagnostic information inMark Dickinson-1/+6
2008-04-19Additional tests for math.pow, and extra special-caseMark Dickinson-10/+124
2008-04-18I finally got the time to update and merge Mark's and my trunk-math branch. T...Christian Heimes-3/+238
2008-02-01Move __builtins__.trunc() to math.trunc() perJeffrey Yasskin-0/+31
2008-01-05Continue rolling back pep-3141 changes that changed behavior from 2.5. ThisJeffrey Yasskin-4/+4
2008-01-04Make math.{floor,ceil}({int,long}) return float again for backwardsJeffrey Yasskin-0/+8
2008-01-03Added copysign(x, y) function to the math moduleChristian Heimes-0/+7
2008-01-03Added math.isinf() and math.isnan()Christian Heimes-0/+16
2008-01-03Backport PEP 3141 from the py3k branch to the trunk. This includes r50877 (justJeffrey Yasskin-0/+26
2007-07-27Make test_math error messages more meaningful for small discrepancies in resultsNick Coghlan-1/+5
2007-07-26Add explicit test for a misbehaving math.floorNick Coghlan-0/+4
2006-11-03Whitespace normalization.Tim Peters-1/+1
2006-10-29Add tests for basic argument errors.Walter Dörwald-0/+27
2006-10-28Convert test_math to unittest.Georg Brandl-168/+174
2004-02-12Replace backticks with repr() or "%r"Walter Dörwald-4/+4
2002-12-18Expand log() tests to include long integers.Raymond Hettinger-0/+2
2002-12-14Apply SF patch 652930: Add optional base argument to math.log(x[, base]).Raymond Hettinger-0/+1
2002-07-30Complete the absolute import patch for the test suite. All relativeBarry Warsaw-1/+1
2002-07-23Get rid of relative imports in all unittests. Now anything thatBarry Warsaw-1/+1
2002-05-23Whitespace normalization.Tim Peters-1/+1
2002-05-13Adds tests for degrees() and radians() functions added to mathmodule.Raymond Hettinger-0/+10
2001-09-05Rework the way we try to check for libm overflow, given that C99 no longerTim Peters-1/+1
2001-04-12Reverting the "unixware7" patch: atan2(0, 1) should be 0, regardless ofTim Peters-5/+1
2001-04-11Unixware 7 support by Billy G. Allie (SF patch 413011)Guido van Rossum-1/+5
2000-12-12Update the code to better reflect recommended style:Fred Drake-1/+1
2000-10-23Make reindent.py happy (convert everything to 4-space indents!).Fred Drake-9/+9
2000-10-16Test for math.* exceptional behavior only in verbose mode, so that theTim Peters-27/+37
2000-10-12A Mystery: I somehow managed to delete the last two lines of my test_math.pyTim Peters-0/+2