Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Rough approximation Re: ELO Calculations

Author: Dieter Buerssner

Date: 13:37:24 04/27/05

Go up one level in this thread


On April 27, 2005 at 15:16:00, Dieter Buerssner wrote:

> [...] I don't have erf() with me [...]

I even have it. I am surprised - the MinGW environment does support it (it is
also part of the C99 Standard). So, if you have it too, you could change one
line:

>    printf("%d %.6f %.6f\n", d, expected_score(d), 1.0/(1.0+pow(10.0,

to

printf("%d %.6f %.6f %.6f\n", d, expected_score(d),
       1.0/(1.0+pow(10.0, -d/400.0)), 0.5+0.5*erf(d/400.));

It reproduces exactly the number I had given in the comment to the source (and
still shows, that none of the formula is able to reproduce the mumbers from
FIDE).

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.