[Freeciv-Dev] Re: (PR#8615) RFC: Splitting common/
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://rt.freeciv.org/Ticket/Display.html?id=8615 >
On Fri, Apr 30, 2004 at 05:38:34PM -0700, Jason Short wrote:
>
> <URL: http://rt.freeciv.org/Ticket/Display.html?id=8615 >
>
> Per I. Mathisen wrote:
>
>
> > -static const char *general_int_to_text(int nr, int decade_exponent)
> > +const char *general_int_to_text(int nr, int decade_exponent)
>
> I have no idea what this function does just by looking at the prototype.
> nr? decade? general int? If we make it public it should be more
> self-explanatory.
It is more like a "format_big_number" the big number is given as a
mantissa ("nr") and a factor. The factor has the form
10^exponent. exponent is "decade_exponent".
Raimar
--
email: rf13@xxxxxxxxxxxxxxxxx
"- Amiga Y2K fixes (a bit late, wouldn't you say?)"
-- Linus Torvalds about linux 2.4.0 at 4 Jan 2001
|
|