gnugo-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gnugo-devel] mixed patch


From: Arend Bayer
Subject: Re: [gnugo-devel] mixed patch
Date: Tue, 26 Mar 2002 08:57:58 +0100 (CET)

Gunnar wrote:
> - new function gg_normalize_float() in gg_utils.c
> 
> Finally, the change in readconnect.c together with the new
> gg_normalize_float() function addresses and hopefully solves a
> platform dependency problem with connection:72. See the comment above
> gg_normalize_float() in the patch for an explanation.

Maybe it would be cleaner to use integer arithmetic to begin with? Now you
have to assume anyway that everything is an integer multiple of 0.001.

I had realized the same problem when I considered your suggestion to sort
OWL-patterns with equal value according to their "constraint cost".

Arend





reply via email to

[Prev in Thread] Current Thread [Next in Thread]