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
fe424f75
Kaydet (Commit)
fe424f75
authored
Şub 02, 2008
tarafından
Raymond Hettinger
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Neaten-up a bit.
üst
2d1aa335
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
5 deletions
+1
-5
mathmodule.c
Modules/mathmodule.c
+1
-5
No files found.
Modules/mathmodule.c
Dosyayı görüntüle @
fe424f75
...
...
@@ -157,17 +157,13 @@ FUNC1(tanh, tanh,
static
PyObject
*
math_trunc
(
PyObject
*
self
,
PyObject
*
number
)
{
/* XXX: The py3k branch gets better errors for this by using
_PyType_Lookup(), but since float's mro isn't set in py2.6,
we just use PyObject_CallMethod here. */
return
PyObject_CallMethod
(
number
,
"__trunc__"
,
NULL
);
}
PyDoc_STRVAR
(
math_trunc_doc
,
"trunc(x:Real) -> Integral
\n
"
"
\n
"
"Truncates x to the nearest Integral toward 0. Uses the __trunc__ magic"
"method."
);
"Truncates x to the nearest Integral toward 0. Uses the __trunc__ magic method."
);
static
PyObject
*
math_frexp
(
PyObject
*
self
,
PyObject
*
arg
)
...
...
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