summaryrefslogtreecommitdiff
path: root/Objects/floatobject.c
AgeCommit message (Expand)AuthorLines
2010-07-02Merged revisions 82447 via svnmerge fromBenjamin Peterson-1/+1
2010-05-09Recorded merge of revisions 81029 via svnmerge fromAntoine Pitrou-1815/+1815
2009-05-11Merged revisions 72564 via svnmerge fromMark Dickinson-17/+37
2009-04-15Merged revisions 71627 via svnmerge fromBenjamin Peterson-1/+3
2008-10-04Merged revisions 66766-66767,66771-66772,66774,66776,66783-66787,66790,66793,...Benjamin Peterson-2/+2
2008-09-22should use macro'ed symbols not directAndrew MacIntyre-3/+3
2008-09-09#3777: long(4.2) returned an int, and broke backward compatibility.Amaury Forgeot d'Arc-1/+8
2008-08-21issue 3633: Solaris allows fullwidth Unicode digits in isxdigit, soMark Dickinson-5/+4
2008-07-15Issue #3008: add instance method float.hex and class method float.fromhexMark Dickinson-0/+407
2008-07-06- Issue #2862: Make int and float freelist management consistent with otherGregory P. Smith-26/+17
2008-07-05Issue 3188: accept float('infinity') as well as float('inf'). ThisMark Dickinson-0/+3
2008-06-24Revert 64424, 64438, and 64439.Raymond Hettinger-65/+7
2008-06-21Fix build on FreeBSD gcc.Hye-Shik Chang-6/+6
2008-06-21Issue 3008: hex/oct/bin can show floats exactly.Raymond Hettinger-2/+60
2008-06-09This reverts r63675 based on the discussion in this thread:Gregory P. Smith-11/+11
2008-05-30Refactor and clean up str.format() code (and helpers) in advance of optimizat...Eric Smith-18/+11
2008-05-26Renamed PyString to PyBytesChristian Heimes-12/+12
2008-05-09Issue #2801: fix bug in float.is_integer where ValueErrorMark Dickinson-0/+1
2008-04-18I finally got the time to update and merge Mark's and my trunk-math branch. T...Christian Heimes-125/+81
2008-03-28Fix compiler warning about finite() missing on Solaris.Neal Norwitz-0/+4
2008-03-27Pluralss only need one s, not 2 (intss -> ints)Neal Norwitz-1/+1
2008-03-14Issue 705836: Fix struct.pack(">f", 1e40) to behave consistentlyMark Dickinson-8/+8
2008-02-17Backport of PEP 3101, Advanced String Formatting, from py3k.Eric Smith-0/+43
2008-02-04Patch #1953Christian Heimes-7/+23
2008-02-02Simpler solution to handling non-IEEE 754 environments.Raymond Hettinger-13/+3
2008-02-01Add protection from weirdness while scaling the mantissa to an integer.Raymond Hettinger-5/+10
2008-02-01Fix int/long typecase. Add check for non-binary floating point.Raymond Hettinger-2/+9
2008-02-01labs() takes a long for an input.Raymond Hettinger-1/+1
2008-02-01Integer ratio should return ints instead of longs whereever possible.Raymond Hettinger-2/+8
2008-02-01Issue #1996: float.as_integer_ratio() should return fraction in lowest terms.Raymond Hettinger-85/+18
2008-01-30The previous change was causing a segfault after multiple calls to Py_Initial...Christian Heimes-9/+5
2008-01-30Fixed some references leaks in sys.Christian Heimes-1/+0
2008-01-27Moved Rational._binary_float_to_ratio() to float.as_integer_ratio() becauseJeffrey Yasskin-0/+159
2008-01-25Add prototypes to get the mathmodule.c to compile on OSF1 5.1 (Tru64)Neal Norwitz-0/+5
2008-01-14Now that I've learnt about structseq objects I felt like converting sys.float...Christian Heimes-25/+74
2008-01-05Continue rolling back pep-3141 changes that changed behavior from 2.5. ThisJeffrey Yasskin-55/+3
2008-01-03Backport PEP 3141 from the py3k branch to the trunk. This includes r50877 (justJeffrey Yasskin-26/+82
2007-12-19#1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFC...Christian Heimes-12/+12
2007-12-18Applied patch #1635: Float patch for inf and nan on Windows (and other platfo...Christian Heimes-1/+49
2007-12-11The new float repr causes too much trouble and pain. I'm disabling the featur...Christian Heimes-1/+12
2007-12-10Backport of r59456:59458 from py3k to trunkChristian Heimes-2/+106
2007-12-01Feature #1534Christian Heimes-0/+47
2007-09-17Add a bunch of GIL release/acquire points in tp_print implementations and forBrett Cannon-0/+2
2007-07-21PEP 3123: Provide forward compatibility with Python 3.0, while keepingMartin v. Löwis-14/+13
2007-05-03Remove dead code. This code couldn't be reached because earlier inNeal Norwitz-12/+1
2006-08-23Reverting the patch that tried to fix the issue whereby x**2 raisesAlex Martelli-3/+3
2006-08-23x**2 should about equal x*x (including for a float x such that the result isAlex Martelli-3/+3
2006-05-25Added a new macro, Py_IS_FINITE(X). On windows there is an intrinsic for thi...Kristján Valur Jónsson-5/+2
2006-04-18C++ compiler cleanup: bunch-o-casts, plus use of unsigned loop index var in a...Skip Montanaro-1/+1
2006-04-11More C++-compliance. Note especially listobject.c - to get C++ to accept theAnthony Baxter-5/+5