Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
b2da01b2
Kaydet (Commit)
b2da01b2
authored
Ock 08, 2006
tarafından
Neal Norwitz
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fix icc warnings: remove unused variable
üst
056a2d65
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
floatobject.c
Objects/floatobject.c
+1
-2
No files found.
Objects/floatobject.c
Dosyayı görüntüle @
b2da01b2
...
@@ -425,7 +425,6 @@ float_richcompare(PyObject *v, PyObject *w, int op)
...
@@ -425,7 +425,6 @@ float_richcompare(PyObject *v, PyObject *w, int op)
int
vsign
=
i
==
0
.
0
?
0
:
i
<
0
.
0
?
-
1
:
1
;
int
vsign
=
i
==
0
.
0
?
0
:
i
<
0
.
0
?
-
1
:
1
;
int
wsign
=
_PyLong_Sign
(
w
);
int
wsign
=
_PyLong_Sign
(
w
);
size_t
nbits
;
size_t
nbits
;
double
mant
;
int
exponent
;
int
exponent
;
if
(
vsign
!=
wsign
)
{
if
(
vsign
!=
wsign
)
{
...
@@ -471,7 +470,7 @@ float_richcompare(PyObject *v, PyObject *w, int op)
...
@@ -471,7 +470,7 @@ float_richcompare(PyObject *v, PyObject *w, int op)
op
=
_Py_SwappedOp
[
op
];
op
=
_Py_SwappedOp
[
op
];
}
}
assert
(
i
>
0
.
0
);
assert
(
i
>
0
.
0
);
mant
=
frexp
(
i
,
&
exponent
);
(
void
)
frexp
(
i
,
&
exponent
);
/* exponent is the # of bits in v before the radix point;
/* exponent is the # of bits in v before the radix point;
* we know that nbits (the # of bits in w) > 48 at this 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