Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Crafty binary for Cray computers?

Author: Eugene Nalimov

Date: 15:42:46 03/23/99

Go up one level in this thread


On March 23, 1999 at 17:53:20, Bruce Moreland wrote:

>
>On March 23, 1999 at 14:25:26, Dann Corbit wrote:
>
>>On March 23, 1999 at 14:23:29, KarinsDad wrote:
>>
>>>On March 23, 1999 at 13:47:41, Eugene Nalimov wrote:
>
>>>>Tablebases and compressed tablebases are endian-neutral.
>>>>
>>>>Eugene
>>>
>>>What does this mean?
>>>
>>>I thought that endian ordering was based on the capabilities of the chip and/or
>>>OS, not on the database. Wouldn't you need a different set of code to access the
>>>files properly on different systems?
>>They must be stored as character strings or something like that. You can't get
>>away with it if you use integers or floating point.  It's pretty remarkable if
>>it works.
>
>All it means is that he eats his file a byte at a time.
>
>Do you have a header at the beginning of the thing Eugene?
>
>bruce

Uncompressed TB has no header and contain only byte values.
Compressed TB has complex structure, and, as I wrote today
twice (here and in r.g.c.c.), when necessary I construct
integer values "by hand", by fetching bytes, shifting and
adding them, avoding problems with endianess and alignment.

Eugene



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.