public inbox for xconq-cvs@sourceware.org help / color / mirror / Atom feed
From: kingdon@sources.redhat.com To: xconq-cvs@sourceware.cygnus.com Subject: xconq ./ChangeLog kernel/run.c Date: Sat, 18 May 2002 13:55:00 -0000 [thread overview] Message-ID: <20020518205548.28584.qmail@sources.redhat.com> (raw) CVSROOT: /cvs/xconq Module name: xconq Changes by: kingdon@sources.redhat.com 2002-05-18 13:55:48 Modified files: . : ChangeLog kernel : run.c Log message: * kernel/run.c (run_advanced_units, allocate_used_cells): Rewrite multiplicative code to use integer arithmetic in the way that most of xconq does (returning 0 and starving could be because the old code would basically hope that ((float)100 / 100.0) was 1, but if integer 100 rounds down a bit when it becomes float, that would lose). This also should fix a bug whereby granaries and the like do nothing in advances.g (the code was taking 150% and rounding it to the integer 1).
next reply other threads:[~2002-05-18 20:55 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2002-05-18 13:55 kingdon [this message] 2004-06-20 20:25 ronne 2004-08-29 21:27 kingdon
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20020518205548.28584.qmail@sources.redhat.com \ --to=kingdon@sources.redhat.com \ --cc=xconq-cvs@sourceware.cygnus.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).