Hi,

2011/10/18 Frédéric Bastien <no...@nouiz.org>:
> What about a parameter that allow to select the option the user want?
> it would select between uint, upcasted_int, -MAX and +MAX. This way,
> at least it will be documented and user who care will have the choose.
>
> Personally, when the option is available, I would prefer the safe
> version, uint, but I understand that is not all people position.

Would there be any objection to the proposal to add a keyword to abs:

always_positive=False

or similar, which would have the effect, when True, of returning uints
from an int?

Best,

Matthew
_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to