summaryrefslogtreecommitdiff
path: root/Objects/floatobject.c
AgeCommit message (Expand)AuthorLines
2003-06-28SF patch 703666: Several objects don't decref tmp on failure in subtype_newRaymond Hettinger-1/+3
2003-05-24SF bug 705231: Assertion failed, python aborts.Tim Peters-6/+38
2003-03-21_PyFloat_Pack4(): Removed needless call of floor().Tim Peters-1/+1
2003-03-20New private API functions _PyFloat_{Pack,Unpack}(4,8}. This is aTim Peters-0/+313
2003-01-29Implement appropriate __getnewargs__ for all immutable subclassable builtinGuido van Rossum-1/+12
2003-01-28Fix SF bug# 676155, RuntimeWarning with tp_compareNeal Norwitz-1/+4
2002-11-21float_int(): Some systems raise an exception if a double is cast toTim Peters-14/+16
2002-11-19Change int() so that passing a string, unicode, float or long argumentWalter Dörwald-11/+9
2002-11-18Improve exception message raised by PyFloat_AsDouble if the object does notNeil Schemenauer-2/+6
2002-08-19Call me anal, but there was a particular phrase that was speading toGuido van Rossum-1/+1
2002-07-17staticforward bites the dust.Jeremy Hylton-1/+1
2002-06-13Patch #568124: Add doc string macros.Martin v. Löwis-2/+2
2002-05-02clarify message when raising TypeError to indicate that float() acceptsSkip Montanaro-1/+1
2002-03-09SF bug 525705: [2.2] underflow raise OverflowException.Tim Peters-2/+2
2001-12-11float_floor_div: An expression like 3.//1j crashed the interpreter, orTim Peters-9/+12
2001-12-11float_int_div(): For clarity, move this closer to the other floatTim Peters-16/+16
2001-11-28PyFloat_AsStringEx(): This function takes an output char* but doesn'tTim Peters-8/+24
2001-11-28PyFloat_FromString(): Conversion of sprintf() to PyOS_snprintf() forBarry Warsaw-2/+4
2001-11-01float_divmod(): the code wasn't sick enough to stop the MS optimizerTim Peters-1/+1
2001-11-01SF bug #477221: abs and divmod act oddly with -0.0Tim Peters-9/+26
2001-11-01float_abs() again: Guido pointed out that this could screw up in theTim Peters-6/+1
2001-11-01SF bug #477221: abs and divmod act oddly with -0.0.Tim Peters-9/+11
2001-10-24SF patch #474590 -- RISC OS supportGuido van Rossum-0/+7
2001-10-05Enable GC for new-style instances. This touches lots of files, sinceGuido van Rossum-2/+6
2001-09-19Add additional coercion support for "self subtypes" to int, long,Guido van Rossum-0/+5
2001-09-12Again perhaps the end of [#460020] bug or feature: unicode() and subclasses.Tim Peters-1/+1
2001-09-11More bug 460020: when F is a subclass of float, disable the unary plusTim Peters-2/+6
2001-09-11Replace a few places where X->ob_type was compared to &PyXXX_Type withGuido van Rossum-3/+3
2001-09-05Better error msg for 3-arg pow with a float argument.Tim Peters-1/+1
2001-09-05Rework the way we try to check for libm overflow, given that C99 no longerTim Peters-16/+1
2001-09-05Make the error msgs in our pow() implementations consistent.Tim Peters-2/+2
2001-09-04Raise OverflowError when appropriate on long->float conversion. Most ofTim Peters-5/+6
2001-09-04PEP 238 documented -Qwarn as warning only for classic int or longGuido van Rossum-1/+1
2001-09-03New restriction on pow(x, y, z): If z is not None, x and y must be ofTim Peters-15/+7
2001-08-31Add warning mode for classic division, almost exactly as specified inGuido van Rossum-1/+20
2001-08-30Fix typo: double semicolons.Guido van Rossum-1/+1
2001-08-29Make int, long and float subclassable.Guido van Rossum-5/+35
2001-08-23float_pow: Put *all* of the burden on the libm pow in normalTim Peters-45/+16
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-13/+32
2001-08-02Merge of descr-branch back into trunk.Tim Peters-16/+54
2001-07-26SF bug #444510: int() should guarantee truncation.Tim Peters-7/+13
2001-05-08SF bug #422177: Results from .pyc differs from .pyTim Peters-0/+6
2001-03-11When 1.6 boosted the # of digits produced by repr(float), repr(complex)Tim Peters-1/+0
2001-03-06Avoid giving prototypes on Solaris.Martin v. Löwis-1/+1
2001-02-01SF patch 103543 from tg@freebsd.org:Jeremy Hylton-1/+1
2001-01-17Rich comparisons fall-out:Guido van Rossum-14/+1
2001-01-08Fix a silly bug in float_pow. Sorry Tim.Neil Schemenauer-1/+1
2001-01-04Make float a new style number type.Neil Schemenauer-42/+108
2000-10-24Ka-Ping Yee <ping@lfw.org>:Fred Drake-2/+2