summaryrefslogtreecommitdiffstats
path: root/Objects/longobject.c
Commit message (Expand)AuthorAgeFilesLines
* Change int() so that passing a string, unicode, float or long argumentWalter Dörwald2002-11-191-9/+20
* Make int("...") return a long if an int would overflow.Walter Dörwald2002-11-061-8/+10
* replace thread state objects' ticker and checkinterval fields with twoSkip Montanaro2002-09-031-4/+2
* long_format(), long_lshift(): Someone on c.l.py is trying to boostTim Peters2002-08-201-2/+2
* Illustrating by example one good reason not to trust a proof <wink>.Tim Peters2002-08-151-3/+3
* k_mul() comments: In honor of Dijkstra, made the proof that "t3 fits"Tim Peters2002-08-151-34/+37
* long_mul(): Simplified exit code. In particular, k_mul() returns aTim Peters2002-08-151-9/+3
* k_mul() comments: Simplified the simplified explanation of why ah*bh andTim Peters2002-08-141-6/+3
* k_mul() comments: Explained why there's always enough room to subtractTim Peters2002-08-141-0/+7
* Fixed error in new comment.Tim Peters2002-08-131-4/+3
* k_mul(): The fix for (ah+al)*(bh+bl) spilling 1 bit beyond the allocatedTim Peters2002-08-131-8/+44
* Fix comment for PyLong_AsUnsignedLong() to say that the return valueGuido van Rossum2002-08-131-1/+1
* k_lopsided_mul(): This allocated more space for bslice than necessary.Tim Peters2002-08-121-1/+1
* Added new function k_lopsided_mul(), which is much more efficient thanTim Peters2002-08-121-10/+72
* k_mul(): Moved an assert down. In a debug build, interrupting aTim Peters2002-08-121-2/+2
* k_mul(): Heh -- I checked in two fixes for the last problem. Only keepTim Peters2002-08-121-2/+2
* k_mul(): White-box testing turned up that (ah+al)*(bh+bl) can, in rareTim Peters2002-08-121-3/+11
* x_mul(): Made life easier for C optimizers in the "grade school"Tim Peters2002-08-121-4/+5
* k_mul() and long_mul(): I'm confident that the Karatsuba algorithm isTim Peters2002-08-121-9/+30
* k_mul: Rearranged computation for better cache use. Ignored overflowTim Peters2002-08-121-60/+50
* x_mul(): This failed to normalize its result.Tim Peters2002-08-121-6/+18
* Introduced helper functions v_iadd and v_isub, for in-place digit-vectorTim Peters2002-08-121-29/+75
* k_mul(): Repaired another typo in another comment.Tim Peters2002-08-121-1/+1
* k_mul(): Repaired typo in comment.Tim Peters2002-08-121-1/+1
* Cautious introduction of a patch that started fromTim Peters2002-08-121-85/+264
* staticforward bites the dust.Jeremy Hylton2002-07-171-1/+2
* Undef MIN and MAX before defining them, to avoid warnings on certainGuido van Rossum2002-07-131-0/+2
* Patch #568124: Add doc string macros.Martin v. Löwis2002-06-131-2/+2
* Clarify return value of PyLong_AsLongLong().Jeremy Hylton2002-04-231-1/+1
* PyObject_Del can now be used as a function designator.Neil Schemenauer2002-04-121-1/+1
* Patch #494047: removes 64-bit ?: to cope on plan9.Martin v. Löwis2002-03-091-2/+10
* _PyLong_Copy(): was creating a copy of the absolute value, but shouldTim Peters2002-03-021-1/+1
* Patch #508038: Do not use a type as a variable name.Martin v. Löwis2002-02-161-3/+3
* long_true_divide(): decref its converted arguments. test_long_future.pyTim Peters2001-11-041-2/+5
* Enable GC for new-style instances. This touches lots of files, sinceGuido van Rossum2001-10-051-1/+2
* SF [#466125] PyLong_AsLongLong works for any integer.Tim Peters2001-09-301-1/+7
* Add additional coercion support for "self subtypes" to int, long,Guido van Rossum2001-09-191-0/+5
* A fix for SF bug #461546 (bug in long_mul).Guido van Rossum2001-09-151-10/+14
* based upon a suggestion in c.l.py, this slight expansion of theSkip Montanaro2001-09-131-1/+1
* long_invert(): tiny speed and space optimization.Tim Peters2001-09-111-2/+1
* More bug 460020. Disable a number of long optimizations for long subclasses.Tim Peters2001-09-111-18/+15
* SF bug #460020: bug or feature: unicode() and subclasses.Tim Peters2001-09-101-1/+20
* long_true_divide: reliably force underflow to 0 when the denominatorTim Peters2001-09-061-0/+2
* Make the error msgs in our pow() implementations consistent.Tim Peters2001-09-051-3/+10
* Try to recover from that glibc's ldexp apparently doesn't set errno onTim Peters2001-09-051-2/+2
* Change long/long true division to return as many good bits as it can;Tim Peters2001-09-041-1/+32
* Move long_true_divide next to the other division routines (for clarity!).Tim Peters2001-09-041-6/+6
* Raise OverflowError when appropriate on long->float conversion. Most ofTim Peters2001-09-041-18/+19
* Introduce new private API function _PyLong_AsScaledDouble. Not used yet,Tim Peters2001-09-041-0/+52
* New restriction on pow(x, y, z): If z is not None, x and y must be ofTim Peters2001-09-031-3/+8