summaryrefslogtreecommitdiffstats
path: root/Objects/longobject.c
Commit message (Expand)AuthorAgeFilesLines
* _PyLong_Sign(): remove an assert that needed a variable ndigits thatGuido van Rossum2003-02-031-3/+2
* long_from_binary_base(): Sped this a little by computing the # of bitsTim Peters2003-02-021-6/+6
* Tightened a too-generous assert.Tim Peters2003-02-021-1/+1
* long(string, base) now takes time linear in len(string) when base is aTim Peters2003-02-021-15/+108
* cPickle.c: Full support for the new LONG1 and LONG4. Added comments.Tim Peters2003-02-021-2/+2
* Squash compiler wng about signed/unsigned comparison mismatch.Tim Peters2003-01-311-1/+1
* _PyLong_NumBits(): The definition of this was too specific to the quirkyTim Peters2003-01-311-8/+17
* Implement appropriate __getnewargs__ for all immutable subclassable builtinGuido van Rossum2003-01-291-1/+12
* Added new private API function _PyLong_NumBits. This will be used at theTim Peters2003-01-281-0/+35
* Consolidate the int and long sequence repeat code. Before the change,Neil Schemenauer2002-12-301-19/+0
* 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