On Mon, 2009-02-16 at 20:05 -0800, Cory Helfrich wrote: > Hello Joost and Benoit, > > IIRC, Scid displays the range and mean of the years and Elos in this dialog. > Unknown dates and Elos are not included in the range calculation, but are > included (as zero) in the mean calculations.
Aha! This zero inclusion - although 'uncomfortable', I think they should be skipped from the calculation - _could_ explain the numbers that I see. But after sorting my dbase YMD, I do not see any "unknown date" in the game list... Just wondering, how is this average year calculated? Multiplying e.g. 3M games by let's say the year 2000 may well result in overflow. The result does not fit in 32-bits integer. Might this be the case in the scid code? The average calculation may work in this case if prior to addition/multiplication all years are taken as an offset to the minimum year in the set and in the end we add this minimum year back to the result. > > Best regards, > Cory > Cory Helfrich > [email protected] > > ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Scid-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/scid-users
