diff options
author | Georg Brandl <georg@python.org> | 2008-04-05 17:37:09 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2008-04-05 17:37:09 (GMT) |
commit | 2a033735bba2d3bb45aed34efc81c752261e6636 (patch) | |
tree | d0943e063a8d8ad59cbb4ed1708621fdde5689d8 /Doc/library | |
parent | cd76c274c6a032ff280e6dc22a76db854b4f4922 (diff) | |
download | cpython-2a033735bba2d3bb45aed34efc81c752261e6636.zip cpython-2a033735bba2d3bb45aed34efc81c752261e6636.tar.gz cpython-2a033735bba2d3bb45aed34efc81c752261e6636.tar.bz2 |
ceil and floor return ints in 3k.
Diffstat (limited to 'Doc/library')
-rw-r--r-- | Doc/library/math.rst | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/Doc/library/math.rst b/Doc/library/math.rst index 55f7933..f69c0a0 100644 --- a/Doc/library/math.rst +++ b/Doc/library/math.rst @@ -26,9 +26,9 @@ Number-theoretic and representation functions: .. function:: ceil(x) - Return the ceiling of *x* as a float, the smallest integer value greater than - or equal to *x*. If *x* is not a float, delegates to ``x.__ceil__()``, which - should return an :class:`Integral` value. + Return the ceiling of *x*, the smallest integer greater than or equal to *x*. + If *x* is not a float, delegates to ``x.__ceil__()``, which should return an + :class:`Integral` value. .. function:: copysign(x, y) @@ -44,9 +44,9 @@ Number-theoretic and representation functions: .. function:: floor(x) - Return the floor of *x* as a float, the largest integer value less than or - equal to *x*. If *x* is not a float, delegates to ``x.__floor__()``, which - should return an :class:`Integral` value. + Return the floor of *x*, the largest integer less than or equal to *x*. + If *x* is not a float, delegates to ``x.__floor__()``, which should return an + :class:`Integral` value. .. function:: fmod(x, y) @@ -117,7 +117,6 @@ necessarily has no fractional bits. Power and logarithmic functions: - .. function:: exp(x) Return ``e**x``. |