summaryrefslogtreecommitdiff
path: root/Objects/longobject.c
AgeCommit message (Expand)AuthorLines
2002-03-05backport tim_one's checkin ofMichael W. Hudson-1/+1
2002-02-16Patch #508038: Do not use a type as a variable name.Martin v. Löwis-3/+3
2001-11-04long_true_divide(): decref its converted arguments. test_long_future.pyTim Peters-2/+5
2001-10-05Enable GC for new-style instances. This touches lots of files, sinceGuido van Rossum-1/+2
2001-09-30SF [#466125] PyLong_AsLongLong works for any integer.Tim Peters-1/+7
2001-09-19Add additional coercion support for "self subtypes" to int, long,Guido van Rossum-0/+5
2001-09-15A fix for SF bug #461546 (bug in long_mul).Guido van Rossum-10/+14
2001-09-13based upon a suggestion in c.l.py, this slight expansion of theSkip Montanaro-1/+1
2001-09-11long_invert(): tiny speed and space optimization.Tim Peters-2/+1
2001-09-11More bug 460020. Disable a number of long optimizations for long subclasses.Tim Peters-18/+15
2001-09-10SF bug #460020: bug or feature: unicode() and subclasses.Tim Peters-1/+20
2001-09-06long_true_divide: reliably force underflow to 0 when the denominatorTim Peters-0/+2
2001-09-05Make the error msgs in our pow() implementations consistent.Tim Peters-3/+10
2001-09-05Try to recover from that glibc's ldexp apparently doesn't set errno onTim Peters-2/+2
2001-09-04Change long/long true division to return as many good bits as it can;Tim Peters-1/+32
2001-09-04Move long_true_divide next to the other division routines (for clarity!).Tim Peters-6/+6
2001-09-04Raise OverflowError when appropriate on long->float conversion. Most ofTim Peters-18/+19
2001-09-04Introduce new private API function _PyLong_AsScaledDouble. Not used yet,Tim Peters-0/+52
2001-09-03New restriction on pow(x, y, z): If z is not None, x and y must be ofTim Peters-3/+8
2001-08-31Add warning mode for classic division, almost exactly as specified inGuido van Rossum-1/+21
2001-08-30Ah, the joy of writing test cases...Guido van Rossum-1/+1
2001-08-29Make int, long and float subclassable.Guido van Rossum-2/+36
2001-08-17Patch #445762: Support --disable-unicodeMartin v. Löwis-0/+4
2001-08-08Implement PEP 238 in its (almost) full glory.Guido van Rossum-11/+21
2001-08-02Merge of descr-branch back into trunk.Tim Peters-20/+75
2001-07-15Python.h: Don't attempt to redefine NDEBUG if it's already defined.Tim Peters-1/+0
2001-07-15long_format: Simplify the overly elaborate base-is-a-power-of-2 code.Tim Peters-28/+16
2001-07-14divrem1 & long_format: found a clean way to factor divrem1 so thatTim Peters-28/+54
2001-07-14long_format(): Simplify new code a bit.Tim Peters-5/+8
2001-07-13long_format(): Easy speedup for output bases that aren't a power of 2 (inTim Peters-9/+26
2001-07-12On long to the negative long power, let float handle it instead ofGuido van Rossum-8/+7
2001-06-16PyLong_{As, From}VoidPtr: cleanup, replacing assumptions in comments withTim Peters-15/+23
2001-06-14Change IS_LITTLE_ENDIAN macro -- a little faster now.Tim Peters-1/+1
2001-06-14_PyLong_AsByteArray: simplify the logic for dealing with the most-Tim Peters-11/+13
2001-06-14PyLong_From{Unsigned,}Long: count the # of digits first, so no more spaceTim Peters-21/+41
2001-06-13_PyLong_FromByteArray: changed decl of "carry" to match "thisbyte". NoTim Peters-1/+1
2001-06-13_PyLong_AsByteArray: Don't do the "delicate overflow" check unless it'sTim Peters-9/+18
2001-06-13_PyLong_AsByteArray: added assert that the input is normalized. This isTim Peters-1/+5
2001-06-13PyLong_As{Unsigned,}LongLong: fiddled final result casting.Tim Peters-2/+2
2001-06-13longobject.c:Tim Peters-126/+41
2001-06-12_PyLong_{As,From}ByteArray: Minor code rearrangement aimed at improvingTim Peters-11/+14
2001-06-12Added q/Q standard (x-platform 8-byte ints) mode in struct module.Tim Peters-6/+19
2001-06-11Two new private longobject API functions,Tim Peters-0/+213
2001-01-17Rich comparisons fall-out:Guido van Rossum-17/+1
2001-01-04Make long a new style number type. Sequence repeat is now done hereNeil Schemenauer-76/+262
2000-10-24Ka-Ping Yee <ping@lfw.org>:Fred Drake-4/+4
2000-10-06SF bug 115831 and Ping's SF patch 101751, 0.0**-2.0 returns inf rather thanTim Peters-2/+6
2000-09-01REMOVED all CWI, CNRI and BeOpen copyright markings.Guido van Rossum-9/+0
2000-08-15Fix for http://sourceforge.net/bugs/?func=detailbug&bug_id=111866&group_id=5470.Tim Peters-1/+1
2000-07-31merge Include/my*.h into Include/pyport.hPeter Schneider-Kamp-1/+0