ernest wrote:
And of course, the 64-bit and 32-bit versions still have the different behavior question. BTW, this is so for all Stockfish versions. The question/problem does not exist with the Glaurung versions.
I have started testing with using std::stable_sort() instead of std::sort() for move ordering, this would make behavior identical on any platform.
If performance penalty is accepable we coul use std_stable_sort() in the next version.
Anyhow was not possible to do it now because we wanted to keep 100% functionality unchanged between 1.5.1 and 1.5 to avoid hassles to the testers that had already started with 1.5
for some reasons, i can't download anything from www.mediafire.com
anyone would send me a copy of Stockfish 1.5.1 with source code?
my email is hanchengye@gmail.com
THX
i try to translate it to chinese chess, a immposible mission, maybe
Han Chengye wrote:for some reasons, i can't download anything from www.mediafire.com
anyone would send me a copy of Stockfish 1.5.1 with source code?
my email is hanchengye@gmail.com
THX
i try to translate it to chinese chess, a immposible mission, maybe
I probably know the reason if you are trying to access from China....I am surprised your gmail account works, because also gmail has problems in China "for some reasons", at least when I was there I cannot access my account.
I will send you the sources and binaries as per your requets.
Han Chengye wrote:for some reasons, i can't download anything from www.mediafire.com
anyone would send me a copy of Stockfish 1.5.1 with source code?
my email is hanchengye@gmail.com
THX
But maybe my tests only show that 60 games don't say anything about the strength, the 2 versions where absolut identical
They really should be 100% identical, except for stability, Chess960 and time management when there is less than 5 seconds left on the clock. I'll do some verification myself, just to be sure.
Uri Blass wrote:
based on my understanding overflow is a case when you have some array like int a[100] and later try to change a[x] fpr x>=100 or for x<0 and it may change other variables and cause the program to crash.
Maybe it is not the problem of stockfish but Joona Kiiski did not gave a clear explanation to describe the problem that caused stockfish to lose on time.
I do not understand how you are quaranteed against overflow
suppose
ply=pvSize-1
I think that you can get a problem with
p.do_move(pv[ply++], st); because this function is using pv[pvSize] and the maximal value that you are allowed is pvSize-1
Uri Blass wrote:
I do not understand how you are quaranteed against overflow
suppose
ply=pvSize-1
I think that you can get a problem with
p.do_move(pv[ply++], st); because this function is using pv[pvSize] and the maximal value that you are allowed is pvSize-1
Uri
Ok, apart that in pv[ply++] ply is post-incremented so that you are using pv[pvSize-1], you could have problem in the trailing assignement just before to exit the function:
Uri Blass wrote:
I do not understand how you are quaranteed against overflow
suppose
ply=pvSize-1
I think that you can get a problem with
p.do_move(pv[ply++], st); because this function is using pv[pvSize] and the maximal value that you are allowed is pvSize-1
Uri
Ok, apart that in pv[ply++] ply is post-incremented so that you are using pv[pvSize-1], you could have problem in the trailing assignement just before to exit the function: