Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
b2da01b2
Commit
b2da01b2
authored
Jan 08, 2006
by
Neal Norwitz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix icc warnings: remove unused variable
parent
056a2d65
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
Objects/floatobject.c
Objects/floatobject.c
+1
-2
No files found.
Objects/floatobject.c
View file @
b2da01b2
...
...
@@ -425,7 +425,6 @@ float_richcompare(PyObject *v, PyObject *w, int op)
int
vsign
=
i
==
0
.
0
?
0
:
i
<
0
.
0
?
-
1
:
1
;
int
wsign
=
_PyLong_Sign
(
w
);
size_t
nbits
;
double
mant
;
int
exponent
;
if
(
vsign
!=
wsign
)
{
...
...
@@ -471,7 +470,7 @@ float_richcompare(PyObject *v, PyObject *w, int op)
op
=
_Py_SwappedOp
[
op
];
}
assert
(
i
>
0
.
0
);
mant
=
frexp
(
i
,
&
exponent
);
(
void
)
frexp
(
i
,
&
exponent
);
/* exponent is the # of bits in v before the radix point;
* we know that nbits (the # of bits in w) > 48 at this point
*/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment