summaryrefslogtreecommitdiff
path: root/Objects/floatobject.c
AgeCommit message (Expand)AuthorLines
2002-03-11backport tim_one's checkin ofMichael W. Hudson-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
2000-10-06SF bug 115831 and Ping's SF patch 101751, 0.0**-2.0 returns inf rather thanTim Peters-28/+35
2000-09-26Rationalize use of limits.h, moving the inclusion to Python.h.Fred Drake-30/+0
2000-09-25Replace SIGFPE paranoia around strtod and atof. I don't believe theseTim Peters-0/+4
2000-09-23Fix for SF bug 110624: float literals behave inconsistently.Tim Peters-16/+44
2000-09-16Fixed legit gripe from c.l.py that math.fmod docs aren't confusing enough.Tim Peters-1/+1
2000-09-01REMOVED all CWI, CNRI and BeOpen copyright markings.Guido van Rossum-9/+0
2000-08-18PyFloat_FromString(): Move s_buffer[] up to the top-level functionBarry Warsaw-2/+1
2000-08-15Fix for http://sourceforge.net/bugs/?func=detailbug&bug_id=111866&group_id=5470.Tim Peters-38/+1
2000-08-12Clean up a warning on Win64. The downcast of the strlen size_tTrent Mick-1/+1
2000-07-31merge Include/my*.h into Include/pyport.hPeter Schneider-Kamp-1/+0
2000-07-09Remove legacy use of __SC__; no longer needed now that ANSI source isFred Drake-5/+0
2000-07-09ANSI-fication of the sources.Fred Drake-70/+29
2000-07-09Nuke all remaining occurrences of Py_PROTO and Py_FPROTO.Tim Peters-3/+3