[Cython] Boundchecking question
Carl Witty
cwitty at newtonlabs.com
Sun Aug 17 18:36:15 CEST 2008
On Sun, Aug 17, 2008 at 1:11 AM, Robert Bradshaw
<robertwb at math.washington.edu> wrote:
> Constants will be optimized away. But if I write "i+1" where i is an
> unsigned int, the result is still signed.
Are you talking about Cython or C here? In C, if i is an unsigned
int, then i+1 is also an unsigned int. If that's not the case in
Cython, I think it should be changed to match C.
Carl
More information about the Cython-dev
mailing list