summaryrefslogtreecommitdiffstats
path: root/Objects/longobject.c
Commit message (Expand)AuthorAgeFilesLines
* Add const to several API functions that take char *.Jeremy Hylton2005-12-101-1/+2
* SF bug #1238681: freed pointer is used in longobject.c:long_pow().Tim Peters2005-07-171-5/+8
* SF bug #1224347: int/long unification and hex()Raymond Hettinger2005-06-291-2/+2
* Make subclasses of int, long, complex, float, and unicode perform typeBrett Cannon2005-04-261-1/+4
* Revert previous checkin on getargs 'L' code. Try to convert allMartin v. Löwis2005-03-031-1/+22
* Patch #1024670: Support int objects in PyLong_AsUnsignedLong[Mask].Martin v. Löwis2004-09-201-0/+11
* long_pow(): Fix more instances of leaks in error cases.Tim Peters2004-08-301-3/+3
* SF patch 936813: fast modular exponentiationTim Peters2004-08-301-107/+185
* SF patch 936813: fast modular exponentiationTim Peters2004-08-291-21/+79
* SF patch 703666: Several objects don't decref tmp on failure in subtype_newRaymond Hettinger2003-06-281-1/+3
* SF patch 730594: assert from longobject.c, line 1215.Tim Peters2003-05-051-4/+4
* Silence compiler warnings in VC 7.Jeremy Hylton2003-05-011-2/+2
* SF # 595026: support for masks in getargs.c.Thomas Heller2003-04-171-0/+55
* Rename LONG_LONG to PY_LONG_LONG. Fixes #710285.Martin v. Löwis2003-03-291-22/+22
* Fix SF bug #689659, 64-bit int and long hash keys incompatibleNeal Norwitz2003-02-231-2/+4
* _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