Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Outputting u64 word using printf?

Author: Gian-Carlo Pascutto

Date: 08:40:33 06/07/04

Go up one level in this thread


On June 07, 2004 at 11:11:37, Heiner Marxen wrote:

>No.  I've used this kind of shifts to assert that the type "int" can contain
>a certain amount of bits.  If the compiler would switch arbitrarily among
>types, I'd have a problem.  C has a system of implicit casts, but it does
>not apply to this case.

So basically it should always give 0 assuming the native type is 32 bits?

--
GCP



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.