Complete.Org: Mailing Lists: Archives: freeciv-dev: October 2001:
[Freeciv-Dev] Re: [patch] amortize
Home

[Freeciv-Dev] Re: [patch] amortize

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: "freeciv-dev@xxxxxxxxxxx" <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Re: [patch] amortize
From: Chris Guest <chris.guest@xxxxxxxxxxxx>
Date: Fri, 26 Oct 2001 21:00:35 +1000

Confessions:
(1) the amortize_array_patch is missing a function call to
generate_amort()in srv_main.c so it won't work, if anyone was curious
enough to test it.
(2) i took a closer look at comparitive accuracy between these two new
functions and the original one. it appears that float->int rounding
errors (eg amortize(12,1) ) are causing greater relative error than
the original kludge did.

I'll take a further look at this over the next few days and see if I
can put together something a little more comprehensive.




__________________________________________________________________
Get your free Australian email account at http://www.start.com.au



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