Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Whitespace normalization. | Tim Peters | 2001-09-04 | 1 | -1/+0 |
| | |||||
* | Restore a line deleted by mistake. | Tim Peters | 2001-09-03 | 1 | -0/+2 |
| | |||||
* | New restriction on pow(x, y, z): If z is not None, x and y must be of | Tim Peters | 2001-09-03 | 1 | -9/+9 |
| | | | | | integer types, and y must be >= 0. See discussion at http://sf.net/tracker/index.php?func=detail&aid=457066&group_id=5470&atid=105470 | ||||
* | Revert the previous patch to test_pow.py and move the test to test_unary.py | Fred Drake | 2001-08-30 | 1 | -10/+0 |
| | | | | | based on a suggestion from Tim Peters; also make sure that we're really doing exponentiation and not multiplication. | ||||
* | Added a regression test for the negation-of-exponentiation optimization | Fred Drake | 2001-08-30 | 1 | -0/+11 |
| | | | | bug from compile.c. (SF bug #456756.) | ||||
* | Make the test pass now that 10**-15 returns a float instead of raising | Guido van Rossum | 2001-07-12 | 1 | -3/+1 |
| | | | | an exception. | ||||
* | Update the code to better reflect recommended style: | Fred Drake | 2000-12-12 | 1 | -2/+2 |
| | | | | | 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 | -24/+24 |
| | |||||
* | SF bug 115831 and Ping's SF patch 101751, 0.0**-2.0 returns inf rather than | Tim Peters | 2000-10-06 | 1 | -30/+55 |
| | | | | | | | | | | raise ValueError. Checked in the patch as far as it went, but also changed all of ints, longs and floats to raise ZeroDivisionError instead when raising 0 to a negative number. This is what 754-inspired stds require, as the "true result" is an infinity obtained from finite operands, i.e. it's a singularity. Also changed float pow to not be so timid about using its square-and-multiply algorithm. Note that what math.pow does is unrelated to what builtin pow does, and will still vary by platform. | ||||
* | Revise tests to support str(<long int object>) not appending "L". | Fred Drake | 1999-12-23 | 1 | -12/+12 |
| | |||||
* | Mass check-in after untabifying all files that need it. | Guido van Rossum | 1998-03-26 | 1 | -8/+8 |
| | |||||
* | Use fuzzy comparison from test_support to compare outcome of | Guido van Rossum | 1997-11-24 | 1 | -1/+4 |
| | | | | pow(x,y,z) to pow(x,y)%z. | ||||
* | Test set for new pow() function | Guido van Rossum | 1994-08-12 | 1 | -0/+92 |