Complete.Org: Mailing Lists: Archives: freeciv-dev: April 2002:
[Freeciv-Dev] Re: server/settlers.c cleanup 3
Home

[Freeciv-Dev] Re: server/settlers.c cleanup 3

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Mike Kaufman <kaufman@xxxxxxxxxxxxxxxxxxxxxx>
Cc: Per I Mathisen <per@xxxxxxxxxxx>, freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: server/settlers.c cleanup 3
From: Raimar Falke <hawk@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 14 Apr 2002 18:37:55 +0200
Reply-to: rf13@xxxxxxxxxxxxxxxxxxxxxx

On Sun, Apr 14, 2002 at 10:19:05AM -0500, Mike Kaufman wrote:
> On Sun, Apr 14, 2002 at 04:57:19PM +0200, Per I Mathisen wrote:
> > On Sun, 14 Apr 2002, Raimar Falke wrote:
> > > So you want to add a mort parameter or a global mort variable?!
> > 
> > I want pplayer->patience (or pplayer->mortification).
> > 
> > This set in the beginning of the turn, based on city loss (don't build
> > larger than life stuff when our life is rapidly coming towards an end)
> > game.turn (don't build wonders on turn 3), and on end year/space race
> > arrival (the benefit of long-term solutions closer to endyear/arrival
> > should be much less).
> > 
> > > Why is FLT_EPSILON needed?
> > 
> > I have no idea. I just did copy&paste and tested it. Should I try some
> > test with it removed?
> 
> does the return value for amortize ever find itself in the denominator
> of some division?
> 
> > 
> > > BTW: In another project we came to the result that double was faster
> > > than float.
> > 
> > I'll test that.
> 
> I highly doubt this is a general rule.

It wasn't mean this way.

> Increasing precision should always decrease your performance.

Do you remember the bool char or int discussion.

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
  What's nice about GUI is that you see what you manipulate.
  What's bad about GUI is that you can only manipulate what you see.


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