[Freeciv-Dev] Re: server/settlers.c cleanup 3
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
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.
- [Freeciv-Dev] server/settlers.c cleanup 2, per, 2002/04/13
- [Freeciv-Dev] server/settlers.c cleanup 3, Per I Mathisen, 2002/04/13
- [Freeciv-Dev] Re: server/settlers.c cleanup 3, Raahul Kumar, 2002/04/13
- [Freeciv-Dev] Re: server/settlers.c cleanup 3, Ross W. Wetmore, 2002/04/14
- [Freeciv-Dev] Re: server/settlers.c cleanup 3, Raimar Falke, 2002/04/14
- [Freeciv-Dev] Re: server/settlers.c cleanup 3, Per I. Mathisen, 2002/04/14
- [Freeciv-Dev] Re: server/settlers.c cleanup 3, Raimar Falke, 2002/04/14
- [Freeciv-Dev] Re: server/settlers.c cleanup 3, Per I Mathisen, 2002/04/14
- [Freeciv-Dev] Re: server/settlers.c cleanup 3, Mike Kaufman, 2002/04/14
- [Freeciv-Dev] Re: server/settlers.c cleanup 3,
Raimar Falke <=
- [Freeciv-Dev] Re: server/settlers.c cleanup 3, Ross W. Wetmore, 2002/04/14
- [Freeciv-Dev] Re: server/settlers.c cleanup 3, Per I Mathisen, 2002/04/14
- [Freeciv-Dev] Re: server/settlers.c cleanup 3, Mike Kaufman, 2002/04/14
- [Freeciv-Dev] Re: server/settlers.c cleanup 3, Raimar Falke, 2002/04/14
- [Freeciv-Dev] Re: server/settlers.c cleanup 3, Per I Mathisen, 2002/04/14
- Message not available
- [Freeciv-Dev] Re: server/settlers.c cleanup 3, Ross W. Wetmore, 2002/04/14
- [Freeciv-Dev] Re: server/settlers.c cleanup 3, Per I Mathisen, 2002/04/14
- [Freeciv-Dev] Re: server/settlers.c cleanup 3, Markus Linnala, 2002/04/16
- [Freeciv-Dev] Re: server/settlers.c cleanup 3, Gregory Berkolaiko, 2002/04/16
- Message not available
- [Freeciv-Dev] Re: server/settlers.c cleanup 3, Ross W. Wetmore, 2002/04/16
|
|