Author: Pat King
Date: 13:39:55 03/19/04
Go up one level in this thread
On March 19, 2004 at 16:26:37, Dieter Buerssner wrote: >You should give a small example. > >For example > > unsigned long long x; > x = 1 << 33; > >will just not work (for good reasons). > > x = 1LLU << 33; > >or > > x = (unsigned long long)1 << 33; > >should work (with MinGW, or with any C compiler, that implemented long long, >which is part of ICO C from 1999). Aha! Just the clue I needed (wow, and I even know why it works)! Thanks! > >Similarily, > > x = 0x12345678*0x12345678; > >might not do, what you expect. > >Regards, >Dieter Thanks, Pat
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.