summaryrefslogtreecommitdiff
path: root/Objects/floatobject.c
AgeCommit message (Expand)AuthorLines
2018-07-31[2.7] bpo-34234: Use _PyAnyInt_Check() and _PyAnyInt_CheckExact(). (GH-8479)Serhiy Storchaka-1/+1
2018-03-26Fix typo and edit for clarity in the docstrings of sys.float_info. (GH-2251)Miss Islington (bot)-3/+2
2017-09-13consistently use Py_TYPE, Py_REFCNT, and correct initializer macros (#3563)Benjamin Peterson-1/+1
2016-06-21Issue #22463: Backport compiler warning fixes and workaroundsMartin Panter-1/+1
2016-05-08Corrections for a/an in code comments and documentationMartin Panter-1/+1
2015-11-25Issue #24731: Fixed crash on converting objects with special methodsSerhiy Storchaka-1/+1
2015-11-20Issue #25678: Copy buffer objects to null-terminated strings.Serhiy Storchaka-1/+10
2015-03-06fix potential refleak in PyFloat_AsDouble (closes #23590)Benjamin Peterson-0/+1
2013-10-06#19069: use imperative mood in float object docstrings. Patch by Marco Buttu.Ezio Melotti-9/+9
2012-11-17Issue #9742: Sneaky fix for build failure on Solaris 9.Mark Dickinson-0/+9
2012-01-27Issue #13889: Add missing _Py_SET_53BIT_PRECISION_* calls around uses of dtoa...Mark Dickinson-0/+5
2011-03-26Issue #11144: Fix corner cases where float-to-int conversion unnecessarily re...Mark Dickinson-7/+10
2010-12-04Merged revisions 87032 via svnmerge fromMark Dickinson-4/+14
2010-07-02add spaceBenjamin Peterson-1/+1
2010-05-09Untabify C files. Will watch buildbots.Antoine Pitrou-1921/+1921
2010-05-06Add back in a line that was unneeded which advanced a pointer, but commentedBrett Cannon-0/+1
2010-05-05Remove an unneeded variable increment.Brett Cannon-1/+0
2010-02-22#7482: clarify error message in case of division by zero of float and complex...Ezio Melotti-2/+2
2009-12-30Issue #7534: Fix handling of nans, infinities, and negative zero in **Mark Dickinson-23/+74
2009-11-28Include ieeefp.h (when available) in pyport.h instead of individually inMark Dickinson-4/+0
2009-11-18Issue #7117, continued: Change round implementation to use the correctly-rou...Mark Dickinson-0/+196
2009-10-26Issue #7117: Use PyOS_string_to_double instead of PyOS_ascii_strtod inMark Dickinson-35/+24
2009-10-26Start to remove _PyOS_double_to_string, as mentioned in issue 7117.Eric Smith-22/+36
2009-10-24Removed unused function PyFloat_AsStringEx. It is unused in floatobject.c, an...Eric Smith-11/+0
2009-10-16Removed usage of unsafe PyFloat_AsString.Eric Smith-7/+13
2009-06-16add underscoresBenjamin Peterson-2/+2
2009-05-11Issue #5981: Fix some float.fromhex bugs related to inf and nan handling.Mark Dickinson-16/+36
2009-05-05Issue #5920: Changed format.__float__ and complex.__float__ to use a precisio...Eric Smith-5/+10
2009-05-03Eliminate some locale-dependent calls to isspace and tolower.Mark Dickinson-6/+6
2009-04-29Remove format_float and use _PyOS_double_to_string instead.Mark Dickinson-82/+13
2009-04-26Backport r71967 changes from py3k to trunk.Mark Dickinson-60/+21
2009-04-25Issue #5835, deprecate PyOS_ascii_formatd.Eric Smith-3/+2
2009-04-15call __float__ on str subclasses #5759Benjamin Peterson-1/+3
2008-10-04Use correct capitalization of NaNAndrew M. Kuchling-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