summaryrefslogtreecommitdiff
path: root/Objects/floatobject.c
AgeCommit message (Expand)AuthorLines
2007-12-02Cleanup: Replaced most PyInt_ aliases with PyLong_ and disabled the aliases i...Christian Heimes-3/+3
2007-12-01Merged revisions 59245-59254 via svnmerge fromChristian Heimes-0/+47
2007-09-21Remove more cruft leftover from nb_coerce. Rename nb_coerce toNeil Schemenauer-3/+2
2007-09-07Check in some documentation tweaks for PEP 3141, add some tests, and implementJeffrey Yasskin-3/+4
2007-08-31Remove checking redundantly for checks of PyInt and PyLong.Neal Norwitz-1/+1
2007-08-31Use pow() instead of repeated multiplication by 10 in round(x, n).Guido van Rossum-15/+5
2007-08-26Use unicode and remove support for some uses of str8.Neal Norwitz-13/+6
2007-08-25Implementation of PEP 3101, Advanced String Formatting.Eric Smith-0/+19
2007-08-23Finish the work on __round__ and __trunc__.Guido van Rossum-10/+57
2007-08-12Fix memory leakNeal Norwitz-1/+1
2007-08-07Kill all uses and definitions of tp_print under Objects/. (Others will follow.)Guido van Rossum-13/+2
2007-08-01Changes to long and float by Jeffrey Jasskin to conform to PEP 3141.Guido van Rossum-13/+22
2007-07-21Merged revisions 56467-56482 via svnmerge fromMartin v. Löwis-14/+13
2007-06-22Change float.__getformat__() to return a unicode string.Walter Dörwald-3/+3
2007-05-31Change float.__str__() and complex.__str__() to returnWalter Dörwald-1/+1
2007-05-18Add functions PyUnicode_Append() and PyUnicode_AppendAndDel() that mirrorWalter Dörwald-1/+1
2007-05-15Make tset_float pass. float(<unicode>) was never very good -- it usedGuido van Rossum-13/+21
2007-05-14Merged revisions 55325-55327 via svnmerge fromGuido van Rossum-12/+1
2007-05-03Get rid of all #ifdef Py_USING_UNICODE (it is always present now).Guido van Rossum-4/+0
2007-03-18Remove the deprecated and useless "pend" argument fromGeorg Brandl-20/+2
2007-01-14Merged the int/long unification branch, by very crude means (sorry Thomas!).Guido van Rossum-30/+1
2006-12-28Remove PyFloat_AsReprString() and PyFloat_AsString() which should notNeal Norwitz-27/+16
2006-11-28- patch #1600346 submitted by Tomer FilibaJack Diederich-2/+2
2006-08-21Get rid of most of the rest of coerce (slot is still there for now).Neal Norwitz-26/+1
2006-07-27Get rid of most of the flags (in tp_flags) that keep track of variousGuido van Rossum-2/+1
2006-05-27Much-needed merge (using svnmerge.py this time) of trunk changes into p3yk.Thomas Wouters-5/+2
2006-04-21Merge p3yk branch with the trunk up to revision 45595. This breaks a fairThomas Wouters-17/+17
2006-03-24Get rid of remnants of integer divisionNeal Norwitz-21/+0
2006-03-01Use %ld and casts to long for refcount printing, in absense of a universallyThomas Wouters-2/+6
2006-02-27Revert backwards-incompatible const changes.Martin v. Löwis-1/+1
2006-02-15Merge ssize_t branch.Martin v. Löwis-2/+2
2006-01-08Fix icc warnings: remove unused variableNeal Norwitz-2/+1
2005-12-10Add const to several API functions that take char *.Jeremy Hylton-1/+1
2005-12-05Fix bugMichael W. Hudson-5/+13
2005-06-30Apparently some compiler gives a warning onMichael W. Hudson-1/+1
2005-05-27This is my patch:Michael W. Hudson-235/+505
2005-04-26Make subclasses of int, long, complex, float, and unicode perform typeBrett Cannon-1/+4
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