summaryrefslogtreecommitdiff
path: root/Objects/floatobject.c
AgeCommit message (Expand)AuthorLines
2004-09-23float_richcompare(): Use the new Py_IS_NAN macro to ensure that, onTim Peters-11/+9
2004-09-23SF bug #513866: Float/long comparison anomaly.Tim Peters-8/+206
2004-07-08Fix a couple of signed/unsigned comparison warningsNeal Norwitz-1/+1
2004-06-08Patch #774665: Make Python LC_NUMERIC agnostic.Martin v. Löwis-3/+5
2004-05-26Remove float_compare as perMichael W. Hudson-9/+1
2004-02-26Oops, didn't mean to commit the removal of float_compare!Michael W. Hudson-1/+1
2004-02-26Pass a variable that actually exists to PyFPE_END_PROTECT inMichael W. Hudson-2/+2
2004-02-19"Fix" (for certain configurations of the planets, includingMichael W. Hudson-1/+35
2004-01-17Remove support for SunOS 4.Skip Montanaro-10/+0
2003-11-20Getting rid of all the code inside #ifdef macintosh too.Jack Jansen-1/+1
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