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
abba5c06
Kaydet (Commit)
abba5c06
authored
Tem 26, 2004
tarafından
Tim Peters
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Explain that most floats are actually integers. This is a common confusion
for people using floor(), ceil() and modf().
üst
9a729a1c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
libmath.tex
Doc/lib/libmath.tex
+8
-0
No files found.
Doc/lib/libmath.tex
Dosyayı görüntüle @
abba5c06
...
...
@@ -79,6 +79,14 @@ argument and return a pair of values, rather than returning their
second return value through an `output parameter' (there is no such
thing in Python).
For the
\function
{
ceil()
}
,
\function
{
floor()
}
, and
\function
{
modf()
}
functions, note that
\emph
{
all
}
floating-point numbers of sufficiently
large magnitude are exact integers. Python floats typically carry no more
than 53 bits of precision (the same as the platform C double type), in
which case any float
\var
{
x
}
with
\code
{
abs(
\var
{
x
}
) >= 2**52
}
necessarily has no fractional bits.
Power and logarithmic functions:
\begin{funcdesc}
{
exp
}{
x
}
...
...
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