On Sun, Jun 13, 2010 at 4:45 PM, Nadav Horesh <[email protected]> wrote:
> int can be larger than numpy.int64 therefore it should be coerced to float64 
> (or float96/float128)

Ok, I see. The results type is defined by the types of operands, not
by their values. I guess
this has been discussed earlier but with small operands this feature
may be unexpected.
For example, with the same rule the result of int64 + int should be
float64 while currently
it is int64.

Pearu
_______________________________________________
NumPy-Discussion mailing list
[email protected]
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to