summaryrefslogtreecommitdiffstats
path: root/Objects/floatobject.c
Commit message (Expand)AuthorAgeFilesLines
* Issue #2801: fix bug in float.is_integer where ValueErrorMark Dickinson2008-05-091-0/+1
* I finally got the time to update and merge Mark's and my trunk-math branch. T...Christian Heimes2008-04-181-125/+81
* Fix compiler warning about finite() missing on Solaris.Neal Norwitz2008-03-281-0/+4
* Pluralss only need one s, not 2 (intss -> ints)Neal Norwitz2008-03-271-1/+1
* Issue 705836: Fix struct.pack(">f", 1e40) to behave consistentlyMark Dickinson2008-03-141-8/+8
* Backport of PEP 3101, Advanced String Formatting, from py3k.Eric Smith2008-02-171-0/+43
* Patch #1953Christian Heimes2008-02-041-7/+23
* Simpler solution to handling non-IEEE 754 environments.Raymond Hettinger2008-02-021-13/+3
* Add protection from weirdness while scaling the mantissa to an integer.Raymond Hettinger2008-02-011-5/+10
* Fix int/long typecase. Add check for non-binary floating point.Raymond Hettinger2008-02-011-2/+9
* labs() takes a long for an input.Raymond Hettinger2008-02-011-1/+1
* Integer ratio should return ints instead of longs whereever possible.Raymond Hettinger2008-02-011-2/+8
* Issue #1996: float.as_integer_ratio() should return fraction in lowest terms.Raymond Hettinger2008-02-011-85/+18
* The previous change was causing a segfault after multiple calls to Py_Initial...Christian Heimes2008-01-301-9/+5
* Fixed some references leaks in sys.Christian Heimes2008-01-301-1/+0
* Moved Rational._binary_float_to_ratio() to float.as_integer_ratio() becauseJeffrey Yasskin2008-01-271-0/+159
* Add prototypes to get the mathmodule.c to compile on OSF1 5.1 (Tru64)Neal Norwitz2008-01-251-0/+5
* Now that I've learnt about structseq objects I felt like converting sys.float...Christian Heimes2008-01-141-29/+78
* Continue rolling back pep-3141 changes that changed behavior from 2.5. ThisJeffrey Yasskin2008-01-051-55/+3
* Backport PEP 3141 from the py3k branch to the trunk. This includes r50877 (justJeffrey Yasskin2008-01-031-26/+82
* #1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFC...Christian Heimes2007-12-191-12/+12
* Applied patch #1635: Float patch for inf and nan on Windows (and other platfo...Christian Heimes2007-12-181-1/+49
* The new float repr causes too much trouble and pain. I'm disabling the featur...Christian Heimes2007-12-111-1/+12
* Backport of r59456:59458 from py3k to trunkChristian Heimes2007-12-101-2/+106
* Feature #1534Christian Heimes2007-12-011-0/+47
* Add a bunch of GIL release/acquire points in tp_print implementations and forBrett Cannon2007-09-171-0/+2
* PEP 3123: Provide forward compatibility with Python 3.0, while keepingMartin v. Löwis2007-07-211-14/+13
* Remove dead code. This code couldn't be reached because earlier inNeal Norwitz2007-05-031-12/+1
* Reverting the patch that tried to fix the issue whereby x**2 raisesAlex Martelli2006-08-231-3/+3
* x**2 should about equal x*x (including for a float x such that the result isAlex Martelli2006-08-231-3/+3
* Added a new macro, Py_IS_FINITE(X). On windows there is an intrinsic for thi...Kristján Valur Jónsson2006-05-251-5/+2
* C++ compiler cleanup: bunch-o-casts, plus use of unsigned loop index var in a...Skip Montanaro2006-04-181-1/+1
* More C++-compliance. Note especially listobject.c - to get C++ to accept theAnthony Baxter2006-04-111-5/+5
* Remove unnecessary casts in type object initializers.Georg Brandl2006-03-301-12/+12
* Use %ld and casts to long for refcount printing, in absense of a universallyThomas Wouters2006-03-011-2/+6
* Revert backwards-incompatible const changes.Martin v. Löwis2006-02-271-1/+1
* Merge ssize_t branch.Martin v. Löwis2006-02-151-2/+2
* Fix icc warnings: remove unused variableNeal Norwitz2006-01-081-2/+1
* Add const to several API functions that take char *.Jeremy Hylton2005-12-101-1/+1
* Fix bugMichael W. Hudson2005-12-051-5/+13
* Apparently some compiler gives a warning onMichael W. Hudson2005-06-301-1/+1
* This is my patch:Michael W. Hudson2005-05-271-239/+509
* Make subclasses of int, long, complex, float, and unicode perform typeBrett Cannon2005-04-261-1/+4
* float_richcompare(): Use the new Py_IS_NAN macro to ensure that, onTim Peters2004-09-231-11/+9
* SF bug #513866: Float/long comparison anomaly.Tim Peters2004-09-231-8/+206
* Fix a couple of signed/unsigned comparison warningsNeal Norwitz2004-07-081-1/+1
* Patch #774665: Make Python LC_NUMERIC agnostic.Martin v. Löwis2004-06-081-3/+5
* Remove float_compare as perMichael W. Hudson2004-05-261-9/+1
* Oops, didn't mean to commit the removal of float_compare!Michael W. Hudson2004-02-261-1/+1
* Pass a variable that actually exists to PyFPE_END_PROTECT inMichael W. Hudson2004-02-261-2/+2