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
519b4339
Kaydet (Commit)
519b4339
authored
Tem 21, 1996
tarafından
Guido van Rossum
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
renamed complex -> Py_complex
üst
5a849148
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
complexobject.h
Include/complexobject.h
+10
-10
No files found.
Include/complexobject.h
Dosyayı görüntüle @
519b4339
...
@@ -9,7 +9,7 @@ extern "C" {
...
@@ -9,7 +9,7 @@ extern "C" {
typedef
struct
{
typedef
struct
{
double
real
;
double
real
;
double
imag
;
double
imag
;
}
complex
;
}
Py_
complex
;
/* Operations on complex numbers from complexmodule.c */
/* Operations on complex numbers from complexmodule.c */
...
@@ -20,12 +20,12 @@ typedef struct {
...
@@ -20,12 +20,12 @@ typedef struct {
#define c_quot _Py_c_quot
#define c_quot _Py_c_quot
#define c_pow _Py_c_pow
#define c_pow _Py_c_pow
extern
complex
c_sum
();
extern
Py_
complex
c_sum
();
extern
complex
c_diff
();
extern
Py_
complex
c_diff
();
extern
complex
c_neg
();
extern
Py_
complex
c_neg
();
extern
complex
c_prod
();
extern
Py_
complex
c_prod
();
extern
complex
c_quot
();
extern
Py_
complex
c_quot
();
extern
complex
c_pow
();
extern
Py_
complex
c_pow
();
/* Complex object interface */
/* Complex object interface */
...
@@ -37,19 +37,19 @@ real and imaginary parts.
...
@@ -37,19 +37,19 @@ real and imaginary parts.
typedef
struct
{
typedef
struct
{
PyObject_HEAD
PyObject_HEAD
complex
cval
;
Py_
complex
cval
;
}
PyComplexObject
;
}
PyComplexObject
;
extern
DL_IMPORT
(
PyTypeObject
)
PyComplex_Type
;
extern
DL_IMPORT
(
PyTypeObject
)
PyComplex_Type
;
#define PyComplex_Check(op) ((op)->ob_type == &PyComplex_Type)
#define PyComplex_Check(op) ((op)->ob_type == &PyComplex_Type)
extern
PyObject
*
PyComplex_FromCComplex
Py_PROTO
((
complex
));
extern
PyObject
*
PyComplex_FromCComplex
Py_PROTO
((
Py_
complex
));
extern
PyObject
*
PyComplex_FromDoubles
Py_PROTO
((
double
real
,
double
imag
));
extern
PyObject
*
PyComplex_FromDoubles
Py_PROTO
((
double
real
,
double
imag
));
extern
double
PyComplex_RealAsDouble
Py_PROTO
((
PyObject
*
op
));
extern
double
PyComplex_RealAsDouble
Py_PROTO
((
PyObject
*
op
));
extern
double
PyComplex_ImagAsDouble
Py_PROTO
((
PyObject
*
op
));
extern
double
PyComplex_ImagAsDouble
Py_PROTO
((
PyObject
*
op
));
extern
complex
PyComplex_AsCComplex
Py_PROTO
((
PyObject
*
op
));
extern
Py_
complex
PyComplex_AsCComplex
Py_PROTO
((
PyObject
*
op
));
#ifdef __cplusplus
#ifdef __cplusplus
}
}
...
...
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