[Networkit] Cython type issue

Daniel Hoske daniel.hoske at student.kit.edu
Tue Jul 22 16:23:46 CEST 2014


Hi,

> Furthermore I would suggest to use "unsigned long" instead of "unsigned
> int", at least for type promotion (but not compilation?!) uint64_t is a
> typedef of "unsigned long". I guess on systems with 32 bit this is still
> not the same. On 64 bit systems at least it even works to use "unsigned
> long" just in Python and to use the correct type in C++.
long is 32 bit in the LLP64 data model commonly used in Windows, while
long long is guaranteed to be at least 64 bit.

Regards,
Daniel




More information about the NetworKit mailing list