hyatt wrote:marcelk wrote:BB+ wrote:hyatt wrote:I know of no other program, excepting Fruit and derivatives, that uses floats.
GnuChess 5.07 is an obvious example.
Code: Select all
extern float SearchTime;
extern float TimeLimit[2];
extern int TCinc;
extern float TCTime;
However, it seems that
version 2 and
version 4 were int-based, so maybe floats are a post-Stanback addition.
GnuChess5 is not the only one and Hyatt should be aware of that because
it has been pointed out to him less than a month ago. Either he is dishonest here, or he considers Gaviota, Sjeng, Stockfish and even the
1997 version of Rookie all as "Fruit derivatives". If he upholds the latter I don't know how to respond, but it won't be mild.
OOhhh... I am simply shaking in my boots...
Are you saying ALL the above programs use a floating point target time? If so, it IS nonsensical. If you are saying they use integer values, with a floating point calculation used to set the integer value, so what? I've been clear as to what _I_ am talking about.
I'm saying neither, as you can read in the full text you quoted. The distinction between "using float as the storage type of the target time variable" and "using floats in time allocation calculations" hasn't been on my radar, and it is not clear to me that you mean one but not the other when writing about "using floats". To me, both fall under "using floats". So I am saying these programs all use floats in time allocation.
More importantly, I'm also saying that any program using floating point in time allocation means just that: it "uses floats" and not "it is Fruit or a Fruit derivative".
But ok, in your later posts make you it evident that with "use floats in time allocation" you essentially mean "use floats in the ugly Fruit-way and not in the beautiful Crafty-way". Fair enough, we can work from there, bar insinuations of Fruit copying in said programs which cannot continue.
You seem to think that just using a single floating point operation makes the time control code floating point. Try again...
You are not only infallible but also a keen mindreader. I admit I followed your advice and gave it a good try, but I must give up: How can code which uses a floating point operation not be floating point code?