Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: kiwipete perft position

Author: Russell Reagan

Date: 10:23:16 01/04/03

Go up one level in this thread


On January 04, 2003 at 12:35:33, Robert Hyatt wrote:

>How are you printing the thing?  %d will _not_ work with a 64 bit integer.
>Microsoft does it one way.  If you are using gcc, use %llu to print a 64 bit
>counter (assuming it is unsigned which makes sense).

MSVC++ does it using %I64u I think...

I am actually using cout, and as I recall that doesn't even work with a 64-bit
int (says it's ambiguous). I see the problem. I stored the result in an unsigned
int, so it must have been truncated at that point. I'll run it again tonight and
see if it's fixed.

Thanks,
Russell



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.