[Freeciv-Dev] Re: [patch] amortize
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Mon, Oct 29, 2001 at 12:21:52PM +1000, Chris Guest wrote:
> Amended patch for amortize, against CVS-26-Oct. Uses math.h pow
> instead of integer calculations. Improved accuracy, cleaner code, but
> ai/settler routines perform 2-7% slower.
Can you please resent this in the unified diff format (the switch is
-u)?
Raimar
--
email: rf13@xxxxxxxxxxxxxxxxx
(On the statement print "42 monkeys"+"1 snake"): BTW, both perl and Python
get this wrong. Perl gives 43 and Python gives "42 monkeys1 snake", when
the answer is clearly "41 monkeys and 1 fat snake".
-- Jim Fulton, 10 Aug 1999
|
|