View Single Post
Old 2010-08-31, 12:55   #14
ldesnogu's Avatar
Jan 2008

10000111112 Posts

Originally Posted by pacionet View Post
The first test, as written before, failed (test a proven prime).
I think the problem is in that type definition int64.

What definition I have to use ? The one in mathtypes.h or the one in /usr/lib/inttypes.h ? How should I modify the include statements ?
It should be 64-bit. Just print sizeof(int64) and check it's 8.
If it is 8, then your issue is somewhere else.
ldesnogu is offline   Reply With Quote