Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
python
/
cpython2
/
7fd90c403d866945bed26cfe2feaf1bb5c095e66
/
Lib
/
test
/
test_float.py
874d59e
Issue #11144: Fix corner cases where float-to-int conversion unnecessarily returned a long.
by Mark Dickinson
· 14 years ago
c2077b0
#11565: Fix several typos. Patch by Piotr Kasprzyk.
by Ezio Melotti
· 14 years ago
ecf8ec6
Merged revisions 87032 via svnmerge from
by Mark Dickinson
· 15 years ago
2623a37
Merged revisions 86596 via svnmerge from
by Ezio Melotti
· 15 years ago
ee13968
Merged revisions 86003 via svnmerge from
by Brian Curtin
· 15 years ago
0df5a85
don't require the presence of __getformat__ or __setformat__; use requires_IEEE_754 globally
by Benjamin Peterson
· 15 years ago
8019236
Merge test_strtod and test_float string-to-float conversion tests.
by Mark Dickinson
· 15 years ago
5e0c274
Use a more robust infinity check in _Py_HashDouble.
by Mark Dickinson
· 15 years ago
876473b
Check that 'd' isn't allowed as an exponent specifier in inputs to the float function.
by Mark Dickinson
· 15 years ago
a4f46e1
Remove unused imports in test modules.
by Georg Brandl
· 15 years ago
aa98058
use assert[Not]In where appropriate
by Ezio Melotti
· 16 years ago
5ff4f27
Issue #7632: Fix a bug in dtoa.c that could lead to incorrectly-rounded results.
by Mark Dickinson
· 16 years ago
3194d14
Backport some float repr tests that were missed in issue 7117.
by Mark Dickinson
· 16 years ago
99d652e
Issue #7534: Fix handling of nans, infinities, and negative zero in **
by Mark Dickinson
· 16 years ago
f2bf0d2
Issue #4482: Add tests for special float value formatting.
by Eric Smith
· 16 years ago
c4ab833
Issue #3382: Make '%F' and float.__format__('F') convert results to upper case. Much of the patch came from Mark Dickinson.
by Eric Smith
· 16 years ago
bce7837
round(0, "ermintrude") succeeded instead of producing a TypeError. Fix this.
by Mark Dickinson
· 16 years ago
bd15a06
Issue #7117, continued: Change round implementation to use the correctly-rounded
by Mark Dickinson
· 16 years ago
53e9fa4
Test long inputs to float
by Mark Dickinson
· 16 years ago
8568b19
Issue #7117: Use PyOS_string_to_double instead of PyOS_ascii_strtod in
by Mark Dickinson
· 16 years ago
5c8da86
convert usage of fail* to assert*
by Benjamin Peterson
· 16 years ago
b1d4585
Issue #5981: Fix some float.fromhex bugs related to inf and nan handling.
by Mark Dickinson
· 16 years ago
a985a3a
Issue #5920: Changed format.__float__ and complex.__float__ to use a precision of 12 when using the empty presentation type. This more closely matches str()'s behavior and reduces surprises when adding alignment flags to an empty format string. Patch by Mark Dickinson.
by Eric Smith
· 16 years ago
61a0d05
Backport some of the float formatting tests from py3k.
by Mark Dickinson
· 16 years ago
92fcc9c
Issue #5864: format(1234.5, '.4') gives misleading result
by Mark Dickinson
· 16 years ago
99d36f1
call __float__ on str subclasses #5759
by Benjamin Peterson
· 16 years ago
a853a89
fix missing module
by Benjamin Peterson
· 17 years ago
feb8cad
#3796: A test class was not run in test_float. Reviewed by Benjamin.
by Amaury Forgeot d'Arc
· 17 years ago
892429b
Fix float.fromhex test to give additional information on failure. This
by Mark Dickinson
· 17 years ago
6276456
Fix float.from_hex tests. It appears that Linux/ia64 doesn't like
by Mark Dickinson
· 17 years ago
7103aa4
Issue #3008: add instance method float.hex and class method float.fromhex
by Mark Dickinson
· 17 years ago
bf9f4d8
Issue 3188: accept float('infinity') as well as float('inf'). This
by Mark Dickinson
· 17 years ago
979395b
Moved testing of builtin types out of test_builtin and into type specific modules
by Benjamin Peterson
· 17 years ago
6f34109
I finally got the time to update and merge Mark's and my trunk-math branch. The patch is collaborated work of Mark Dickinson and me. It was mostly done a few months ago. The patch fixes a lot of loose ends and edge cases related to operations with NaN, INF, very small values and complex math.
by Christian Heimes
· 17 years ago
3b83549
Patch #1725 by Mark Dickinson, fixes incorrect conversion of -1e1000
by Guido van Rossum
· 18 years ago
0a8143f
Applied patch #1635: Float patch for inf and nan on Windows (and other platforms).
by Christian Heimes
· 18 years ago
f15c66e
The new float repr causes too much trouble and pain. I'm disabling the feature until we have sorted out the issues on all machines. 64bit machines seem to have issues and Guido has reported even worse.
by Christian Heimes
· 18 years ago
284d927
Backport of r59456:59458 from py3k to trunk
by Christian Heimes
· 18 years ago
d8672aa
Fix compile.c so that it records 0.0 and -0.0 as separate constants in a code
by Alex Martelli
· 18 years ago
348dc88
Reverting the patch that tried to fix the issue whereby x**2 raises
by Alex Martelli
· 19 years ago
20362a8
x**2 should about equal x*x (including for a float x such that the result is
by Alex Martelli
· 19 years ago
5d36a55
Whitespace normalization.
by Tim Peters
· 20 years ago
ba283e2
This is my patch:
by Michael W. Hudson
· 20 years ago