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: "Ross W. Wetmore" <rwetmore@xxxxxxxxxxxx>
Cc: Raahul Kumar <raahul_da_man@xxxxxxxxx>, 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 08:47:51 +0200
Reply-to: rf13@xxxxxxxxxxxxxxxxxxxxxx

On Sun, Apr 14, 2002 at 01:12:29AM -0400, Ross W. Wetmore wrote:
> At 05:16 PM 02/04/13 -0700, Raahul Kumar wrote:
> 
> >I've had a long argument with Raimar about this. Good luck to you Per. I
> fully
> >agreed with the old patch, and I agree with your current approach as well. I
> >think the ridiculous extremes the Freeciv code goes to to avoid floating
> point
> >is pointless. 
> 
> Wait until your program dies consistently storing its float value back into
> an int. Mixing the two properly is very hard to do, moreso when most
> programmers never really used floating point and don't understand it.
> 
> Amortize, and some of those screwball overflow functions will probably
> get most freeciv games this way somewhere in the endgame play.

I agree with Ross. We don't want to open another can of worms.

I have no problem if you write the float version of amortize into a
comment.

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
 A life? Cool! Where can I download one?


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