On Thu, Jul 16, 2015 at 7:14 PM, Nathaniel Smith n...@pobox.com wrote:
On Thu, Jul 16, 2015 at 9:18 AM, Antoine Pitrou solip...@pitrou.net wrote:
Hi,
We were discussion integer promotion rules amongst the Numba team, and
we were wondering about the rationale for Numpy's rules. For example,
Hi,
We were discussion integer promotion rules amongst the Numba team, and
we were wondering about the rationale for Numpy's rules. For example,
adding int8 and int8 will give int8 as result (with potential
magnitude loss), while adding int8 and uint8 will give int16 as result
(promoting to the
On Thu, 16 Jul 2015 19:19:58 +0100
Robert Kern robert.k...@gmail.com wrote:
On Thu, Jul 16, 2015 at 7:14 PM, Nathaniel Smith n...@pobox.com wrote:
On Thu, Jul 16, 2015 at 9:18 AM, Antoine Pitrou solip...@pitrou.net
wrote:
while adding int8 and uint8 will give int16 as result
On Thu, Jul 16, 2015 at 9:18 AM, Antoine Pitrou solip...@pitrou.net wrote:
Hi,
We were discussion integer promotion rules amongst the Numba team, and
we were wondering about the rationale for Numpy's rules. For example,
adding int8 and int8 will give int8 as result (with potential
On Thu, 16 Jul 2015 11:14:10 -0700
Nathaniel Smith n...@pobox.com wrote:
Also, it is set to stay like this, or will it evolve in the future?
I don't know -- if you make a good case for something better then maybe?
No, I was just wondering if it would be a good use of our time to try to
use
On Thu, Jul 16, 2015 at 7:14 PM, Nathaniel Smith n...@pobox.com wrote:
On Thu, Jul 16, 2015 at 9:18 AM, Antoine Pitrou solip...@pitrou.net
wrote:
while adding int8 and uint8 will give int16 as result
(promoting to the smallest fitting type).
I understand this to be a consequence of the