Commit ab2b7169 authored by Benjamin Peterson's avatar Benjamin Peterson

trunc -> math.trunc (closes #11475)

parent 37a79fb7
...@@ -45,7 +45,7 @@ The numeric tower ...@@ -45,7 +45,7 @@ The numeric tower
To :class:`Complex`, :class:`Real` adds the operations that work on real To :class:`Complex`, :class:`Real` adds the operations that work on real
numbers. numbers.
In short, those are: a conversion to :class:`float`, :func:`trunc`, In short, those are: a conversion to :class:`float`, :func:`math.trunc`,
:func:`round`, :func:`math.floor`, :func:`math.ceil`, :func:`divmod`, ``//``, :func:`round`, :func:`math.floor`, :func:`math.ceil`, :func:`divmod`, ``//``,
``%``, ``<``, ``<=``, ``>``, and ``>=``. ``%``, ``<``, ``<=``, ``>``, and ``>=``.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment