Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: For Joshua Haglund (home-compiled-Fruit output problem)

Author: Dieter Buerssner

Date: 08:36:10 03/28/05

Go up one level in this thread


On March 28, 2005 at 02:34:43, Fabien Letouzey wrote:

>Yes, I can see from your log file that output starts going crazy right after a
>64-bit number is displayed (node #).  That's

I don't know any context here, and have no idea what compiler is beeing used.
Perhaps the following info can still be useful. I believe the MinGW compiler
environment will not support the Standard C format specifiers for [unsigned]
long long, but instead will support the MSVC type specifiers (%I64u). It may
give a warning (and no warning with the not working %llu). Intel compiler on
Windows and MSVC (and probably Borland compilers, too) will not support %llu.
The easiest thing to do might be to use %.0f and a cast of the argument to
double. It should print all numbers up to 2^53 correctly up to the last digit.

Regards,
Dieter



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.