[Numpy-discussion] Why floor and ceil change the type of the array?
ndarray at mac.com
Wed Feb 22 19:52:03 EST 2006
I was looking for a model to implement "round" in C and discovered
that floor and ceil functions change the type of their arguments:
I know that this is the same behavior as in Numeric, but wouldn't it
be more natural if fllor and ceil return the argument unchanged (maybe
a copy) if it is already integer?
More information about the NumPy-Discussion