summaryrefslogtreecommitdiffstats
path: root/Objects/floatobject.c
Commit message (Expand)AuthorAgeFilesLines
* #7482: clarify error message in case of division by zero of float and complex...Ezio Melotti2010-02-221-2/+2
* Issue #7534: Fix handling of nans, infinities, and negative zero in **Mark Dickinson2009-12-301-23/+74
* Include ieeefp.h (when available) in pyport.h instead of individually inMark Dickinson2009-11-281-4/+0
* Issue #7117, continued: Change round implementation to use the correctly-rou...Mark Dickinson2009-11-181-0/+196
* Issue #7117: Use PyOS_string_to_double instead of PyOS_ascii_strtod inMark Dickinson2009-10-261-35/+24
* Start to remove _PyOS_double_to_string, as mentioned in issue 7117.Eric Smith2009-10-261-22/+36
* Removed unused function PyFloat_AsStringEx. It is unused in floatobject.c, an...Eric Smith2009-10-241-11/+0
* Removed usage of unsafe PyFloat_AsString.Eric Smith2009-10-161-7/+13
* add underscoresBenjamin Peterson2009-06-161-2/+2
* Issue #5981: Fix some float.fromhex bugs related to inf and nan handling.Mark Dickinson2009-05-111-16/+36
* Issue #5920: Changed format.__float__ and complex.__float__ to use a precisio...Eric Smith2009-05-051-5/+10
* Eliminate some locale-dependent calls to isspace and tolower.Mark Dickinson2009-05-031-6/+6
* Remove format_float and use _PyOS_double_to_string instead.Mark Dickinson2009-04-291-82/+13
* Backport r71967 changes from py3k to trunk.Mark Dickinson2009-04-261-60/+21
* Issue #5835, deprecate PyOS_ascii_formatd.Eric Smith2009-04-251-3/+2
* call __float__ on str subclasses #5759Benjamin Peterson2009-04-151-1/+3
* Use correct capitalization of NaNAndrew M. Kuchling2008-10-041-2/+2
* should use macro'ed symbols not directAndrew MacIntyre2008-09-221-3/+3
* #3777: long(4.2) returned an int, and broke backward compatibility.Amaury Forgeot d'Arc2008-09-091-1/+8
* issue 3633: Solaris allows fullwidth Unicode digits in isxdigit, soMark Dickinson2008-08-211-5/+4
* Issue #3008: add instance method float.hex and class method float.fromhexMark Dickinson2008-07-151-0/+407
* - Issue #2862: Make int and float freelist management consistent with otherGregory P. Smith2008-07-061-26/+17
* Issue 3188: accept float('infinity') as well as float('inf'). ThisMark Dickinson2008-07-051-0/+3
* Revert 64424, 64438, and 64439.Raymond Hettinger2008-06-241-65/+7
* Fix build on FreeBSD gcc.Hye-Shik Chang2008-06-211-6/+6
* Issue 3008: hex/oct/bin can show floats exactly.Raymond Hettinger2008-06-211-2/+60
* This reverts r63675 based on the discussion in this thread:Gregory P. Smith2008-06-091-11/+11
* Refactor and clean up str.format() code (and helpers) in advance of optimizat...Eric Smith2008-05-301-18/+11
* Renamed PyString to PyBytesChristian Heimes2008-05-261-12/+12
* 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