cdef int i
cdef unsigned long ix
cdef D = {}
- for i from 0 <= i < sizeof(unsigned long) * 8:
+ for i from 0 <= i < <int>sizeof(unsigned long) * 8:
ix = (<unsigned long>1) << i
D[ix] = True
- for i from 0 <= i < sizeof(unsigned long) * 8:
+ for i from 0 <= i < <int>sizeof(unsigned long) * 8:
ix = (<unsigned long>1) << i
assert D[ix] is True
del D[ix]
cdef int i
cdef unsigned short ix
cdef D = {}
- for i from 0 <= i < sizeof(unsigned short) * 8:
+ for i from 0 <= i < <int>sizeof(unsigned short) * 8:
ix = (<unsigned short>1) << i
D[ix] = True
- for i from 0 <= i < sizeof(unsigned short) * 8:
+ for i from 0 <= i < <int>sizeof(unsigned short) * 8:
ix = (<unsigned short>1) << i
assert D[ix] is True
del D[ix]
cdef int i
cdef long long ix
cdef D = {}
- for i from 0 <= i < sizeof(long long) * 8:
+ for i from 0 <= i < <int>sizeof(long long) * 8:
ix = (<long long>1) << i
D[ix] = True
- for i from 0 <= i < sizeof(long long) * 8:
+ for i from 0 <= i < <int>sizeof(long long) * 8:
ix = (<long long>1) << i
assert D[ix] is True
del D[ix]