[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, 14 Apr 2002, Mike Kaufman wrote:
> does the return value for amortize ever find itself in the denominator
> of some division?
That wouldn't make any sense, since the return value of amortize is a want
value, and want is frequently zero.
> I highly doubt this is a general rule. Increasing precision should
> always decrease your performance.
Tested. The result was almost unnoticable.
FLOAT:
real 0m1.230s
user 0m1.210s
sys 0m0.000s
DOUBLE:
real 0m1.200s
user 0m1.190s
sys 0m0.010s
Yours,
Per
"Treason doth never prosper: what's the reason?
Why, if it prosper, none dare call it treason."
-- Sir John Harrington (1561-1612)
- [Freeciv-Dev] server/settlers.c cleanup 3, (continued)
- [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, 2002/04/14
- [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 <=
- [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
- [Freeciv-Dev] Re: server/settlers.c cleanup 3, Gregory Berkolaiko, 2002/04/15
- [Freeciv-Dev] Re: server/settlers.c cleanup 3, Raahul Kumar, 2002/04/16
|
|