summaryrefslogtreecommitdiff
path: root/Objects/longobject.c
Commit message (Expand)AuthorAgeFilesLines
* #11565: Fix several typos. Patch by Piotr Kasprzyk.Ezio Melotti2011-03-161-1/+1
* #11515: fix several typos. Patch by Piotr Kasprzyk.Ezio Melotti2011-03-151-1/+1
* Wrap multiline macros in a 'do {} while(0)', for safety.Mark Dickinson2010-05-091-37/+43
* Post-detabification cleanup: whitespace fixes and long line rewraps only.Mark Dickinson2010-05-091-159/+155
* Untabify C files. Will watch buildbots.Antoine Pitrou2010-05-091-3374/+3374
* Issue #8659: Remove redundant ABS calls. Thanks Daniel Stutzbach.Mark Dickinson2010-05-081-5/+2
* Issue #8328: Silence Visual Studio warnings.Stefan Krah2010-04-071-6/+6
* Silence a 'comparison between signed and unsigned integer expressions' gcc wa...Mark Dickinson2010-04-061-1/+1
* Issue #8259: Get rid of 'outrageous left shift count' error whenMark Dickinson2010-04-061-14/+6
* Issue #7767: Add new C-API function PyLong_AsLongLongAndOverflow, aMark Dickinson2010-01-301-0/+104
* Refactor some longobject internals: PyLong_AsDouble and _PyLong_AsScaledDoubleMark Dickinson2010-01-021-221/+146
* Issue #1811: Improve accuracy and consistency of true division for integers.Mark Dickinson2009-12-271-31/+252
* Issue #7528: Backport PyLong_AsLongAndOverflow from py3k to trunk.Mark Dickinson2009-12-211-31/+101
* Issue #1087418: Small performance boost for bitwise operations on longs.Mark Dickinson2009-10-251-66/+100
* Style/consistency/nano-optimization nit: replace occurrences ofMark Dickinson2009-09-281-6/+6
* Silence MSVC compiler warnings.Mark Dickinson2009-09-211-2/+3
* Issue #6713: Improve performance of str(n) and repr(n) for integers nMark Dickinson2009-09-161-0/+119
* Fix potential signed-overflow bug in _PyLong_Format; also fixMark Dickinson2009-09-131-9/+11
* Remove redundant assignmentMark Dickinson2009-09-061-1/+0
* Remove unnecessary use of context for long getters.Mark Dickinson2009-05-021-10/+15
* Issue #3166: Make long -> float (and int -> float) conversionsMark Dickinson2009-04-201-15/+152
* sys.long_info attributes should be ints, not longsMark Dickinson2009-04-021-2/+4
* Issue #5512: speed up the long division algorithm for Python longs.Mark Dickinson2009-03-231-94/+152
* Issue #4258: Use 30-bit digits for Python longs, on 64-bit platforms.Mark Dickinson2009-03-201-0/+49
* Replace long with twodigits, to avoid dependingMark Dickinson2009-02-251-1/+1
* A few more minor fixes in longobject.cMark Dickinson2009-02-151-5/+4
* Issue #5260: Various portability and standards compliance fixes, optimizationsMark Dickinson2009-02-151-46/+35
* Issue #5175: PyLong_AsUnsignedLongLong now raises OverflowError forMark Dickinson2009-02-101-1/+1
* Fix comment.Mark Dickinson2009-01-261-3/+3
* Fix undefined behaviour (left shift of negative value) in long_hash. Also,Mark Dickinson2009-01-261-9/+10
* No need for carry to be type twodigits in _PyLong_AsByteArray; digit is large...Mark Dickinson2009-01-251-1/+1
* Issue #4393: fix 3 classes of potential portability problems in longobject.c:Mark Dickinson2009-01-241-23/+20
* Issue #3439: add bit_length method to int and long.Mark Dickinson2008-12-171-0/+71
* Issue #1481296: (again!) Make conversion of a float NaN to an int orMark Dickinson2008-08-041-2/+4
* Security patches from Apple: prevent int overflow when allocating memoryNeal Norwitz2008-07-311-0/+2
* Added additional __sizeof__ implementations and addressed comments made inRobert Schuppenies2008-07-101-2/+2
* Revert 64424, 64438, and 64439.Raymond Hettinger2008-06-241-7/+0
* Make bin() implementation parallel oct() and hex() so that int/long subclasse...Raymond Hettinger2008-06-201-0/+7
* This reverts r63675 based on the discussion in this thread:Gregory P. Smith2008-06-091-16/+16
* Some style nits. Also clarify in the docstrings what __sizeof__ does.Georg Brandl2008-06-011-1/+1
* Issue #2898: Added sys.getsizeof() to retrieve size of objects in bytes.Robert Schuppenies2008-06-011-0/+13
* Refactor and clean up str.format() code (and helpers) in advance of optimizat...Eric Smith2008-05-301-16/+11
* Renamed PyString to PyBytesChristian Heimes2008-05-261-17/+17
* I finally got the time to update and merge Mark's and my trunk-math branch. T...Christian Heimes2008-04-181-0/+12
* Fix for possible signed overflow: the behaviour of -LONG_MIN isMark Dickinson2008-04-151-6/+19
* Revert r61969 which added casts to Py_CHARMASK to avoid compiler warnings.Neal Norwitz2008-03-281-5/+5
* Fix warnings about using char as an array subscript. This is not portableNeal Norwitz2008-03-271-5/+5
* Fix build on platforms that don't have intptr_t. Patch by Joseph Armbruster.Jeffrey Yasskin2008-03-181-1/+1
* Finished backporting PEP 3127, Integer Literal Support and Syntax.Eric Smith2008-03-171-1/+14
* Backport of PEP 3101, Advanced String Formatting, from py3k.Eric Smith2008-02-171-0/+36