summaryrefslogtreecommitdiff
path: root/Lib/test/test_float.py
AgeCommit message (Expand)AuthorLines
2010-01-23use assert[Not]In where appropriateEzio Melotti-4/+4
2010-01-12Issue #7632: Fix a bug in dtoa.c that could lead to incorrectly-rounded resu...Mark Dickinson-0/+102
2010-01-08Backport some float repr tests that were missed in issue 7117.Mark Dickinson-0/+49
2009-12-30Issue #7534: Fix handling of nans, infinities, and negative zero in **Mark Dickinson-0/+212
2009-12-02Issue #4482: Add tests for special float value formatting.Eric Smith-0/+35
2009-11-29Issue #3382: Make '%F' and float.__format__('F') convert results to upper cas...Eric Smith-2/+12
2009-11-24round(0, "ermintrude") succeeded instead of producing a TypeError. Fix this.Mark Dickinson-0/+5
2009-11-18Issue #7117, continued: Change round implementation to use the correctly-rou...Mark Dickinson-1/+139
2009-10-27Test long inputs to floatMark Dickinson-0/+5
2009-10-26Issue #7117: Use PyOS_string_to_double instead of PyOS_ascii_strtod inMark Dickinson-2/+0
2009-06-30convert usage of fail* to assert*Benjamin Peterson-17/+17
2009-05-11Issue #5981: Fix some float.fromhex bugs related to inf and nan handling.Mark Dickinson-0/+31
2009-05-05Issue #5920: Changed format.__float__ and complex.__float__ to use a precisio...Eric Smith-0/+47
2009-04-29Backport some of the float formatting tests from py3k.Mark Dickinson-0/+19
2009-04-29Issue #5864: format(1234.5, '.4') gives misleading resultMark Dickinson-0/+5
2009-04-15call __float__ on str subclasses #5759Benjamin Peterson-0/+12
2008-09-06fix missing moduleBenjamin Peterson-1/+1
2008-09-06#3796: A test class was not run in test_float.Amaury Forgeot d'Arc-1/+3
2008-08-21Fix float.fromhex test to give additional information on failure. ThisMark Dickinson-1/+7
2008-07-15Fix float.from_hex tests. It appears that Linux/ia64 doesn't likeMark Dickinson-4/+4
2008-07-15Issue #3008: add instance method float.hex and class method float.fromhexMark Dickinson-1/+386
2008-07-05Issue 3188: accept float('infinity') as well as float('inf'). ThisMark Dickinson-1/+17
2008-05-03Moved testing of builtin types out of test_builtin and into type specific mod...Benjamin Peterson-0/+111
2008-04-18I finally got the time to update and merge Mark's and my trunk-math branch. T...Christian Heimes-5/+16
2008-01-05Patch #1725 by Mark Dickinson, fixes incorrect conversion of -1e1000Guido van Rossum-0/+7
2007-12-18Applied patch #1635: Float patch for inf and nan on Windows (and other platfo...Christian Heimes-1/+72
2007-12-11The new float repr causes too much trouble and pain. I'm disabling the featur...Christian Heimes-1/+2
2007-12-10Backport of r59456:59458 from py3k to trunkChristian Heimes-1/+16
2007-08-22Fix compile.c so that it records 0.0 and -0.0 as separate constants in a codeAlex Martelli-0/+15
2006-08-23Reverting the patch that tried to fix the issue whereby x**2 raisesAlex Martelli-14/+1
2006-08-23x**2 should about equal x*x (including for a float x such that the result isAlex Martelli-1/+14
2005-06-03Whitespace normalization.Tim Peters-1/+1
2005-05-27This is my patch:Michael W. Hudson-0/+110