mirror of
https://github.com/python/cpython.git
synced 2025-11-03 11:23:31 +00:00
Merged revisions 82448 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r82448 | benjamin.peterson | 2010-07-02 14:45:07 -0500 (Fri, 02 Jul 2010) | 9 lines
Merged revisions 82447 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r82447 | benjamin.peterson | 2010-07-02 14:41:39 -0500 (Fri, 02 Jul 2010) | 1 line
add space
........
................
This commit is contained in:
parent
51e38db84c
commit
1ed6670055
1 changed files with 1 additions and 1 deletions
|
|
@ -1110,7 +1110,7 @@ float_hex(PyObject *v)
|
||||||
return float_str((PyFloatObject *)v);
|
return float_str((PyFloatObject *)v);
|
||||||
|
|
||||||
if (x == 0.0) {
|
if (x == 0.0) {
|
||||||
if(copysign(1.0, x) == -1.0)
|
if (copysign(1.0, x) == -1.0)
|
||||||
return PyUnicode_FromString("-0x0.0p+0");
|
return PyUnicode_FromString("-0x0.0p+0");
|
||||||
else
|
else
|
||||||
return PyUnicode_FromString("0x0.0p+0");
|
return PyUnicode_FromString("0x0.0p+0");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue