Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: OOPS! Shortening Huffman coding + OT

Author: Ratko V Tomic

Date: 12:37:36 11/07/99

Go up one level in this thread


Dann, Blass Uri mentioned some high precdision floating point math you used in
the conversion of his position counting code:

> I used C and my first program did not get so many significant digits.
> Dan Corbit translated my program to C++ and got these many significant digits.

>>It found the number
>>3.7010630121207222927827147741452119115968e46
>>when you ignore the side to move right to castle and the 50 move rule
>>

Normally standard C++ by itself wouldn't have this fp precision (this looks like
16 byte mantissa). What did you use? I was thinking of writing up to perhaps 256
byte variable precision fp & integer math functions for C/C++, at least the 4
basic operations (may come handy for other than chess position counting). Do you
know of any such C linkable library?



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.