[Numpy-discussion] ceil returns real ?

Alan G Isaac aisaac at american.edu
Wed Jul 28 08:54:33 EDT 2010


On 7/28/2010 8:26 AM, Mark Bakker wrote:
> I don't understand why ceil and floor return real values

The same for ``round``.
(Note that Python 3 rounds to int.)
Furthermore, it would be nice if each took a ``dtype`` argument.

Alan Isaac




More information about the NumPy-Discussion mailing list