[Freeciv-Dev] Re: [PATCH] get rid of floating point calculations (PR#130
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Fri, Mar 15, 2002 at 03:06:15AM -0800, Raahul Kumar wrote:
> > - if (unit_flag(punit, F_IGTER)) d_val /= 1.5;
> > + if (unit_flag(punit, F_IGTER)) {
> > + d_val = (d_val * 2) / 3;
>
> Typo. It should be
>
> d_val = (d_val * 3) / 2;
No it isn't.
Raimar
--
email: rf13@xxxxxxxxxxxxxxxxx
"How about the new language C&? No, that's not 'c ampersand', 'c reference',
'reference to c' or 'c and'. It's pronounced 'campersand', to confuse the
hell out of people who are unfamiliar with it, and it will, of course,
have no pointers."
-- Xazziri in comp.lang.c++ about C#
|
|