[Numpy-discussion] ceil returns real ?

Mark Bakker markbak@gmail....
Wed Jul 28 07:26:36 CDT 2010


Hello list,

I don't understand why ceil and floor return real values, while the doc
string says:

The ceil of the scalar `x` is the smallest integer `i`

Wouldn't an integer make more sense?

Numpy version 1.3.0.

Thanks,

Mark
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/numpy-discussion/attachments/20100728/1edcc1e3/attachment.html 


More information about the NumPy-Discussion mailing list