diff options
Diffstat (limited to 'Objects')
-rw-r--r-- | Objects/floatobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/floatobject.c b/Objects/floatobject.c index 682bafb47a..8217ee6e43 100644 --- a/Objects/floatobject.c +++ b/Objects/floatobject.c @@ -1347,7 +1347,7 @@ float_hex(PyObject *v) return float_str((PyFloatObject *)v); if (x == 0.0) { - if(copysign(1.0, x) == -1.0) + if (copysign(1.0, x) == -1.0) return PyString_FromString("-0x0.0p+0"); else return PyString_FromString("0x0.0p+0"); |