Re: Galaxy: integer rounding From: bampton@cs.utk.edu (Howard the Energizer) Date: Fri, 08 Mar 1996 00:00:00 +0000 In article <vo8bum9iu0g.fsf@crocus.csv.warwick.ac.uk> rmm@maths.warwick.ac.uk (Mr R M Mantel) writes: >Galaxy appears to operate with a few integer values besides the reals: >population, colonists, raw materials (?). > Err, not really. POP, CAP, MAT, planet size & location are all reals to at least 2 decimal places (Blind galaxy generally does machine precision, but only shows two). Pretty much things you'd expect to be reals are, and things that only make sense as ints are (initial planet names, # ships in a group, group number) ints. >I have a few questions concerning rounding: >1.) if a ship has 1.99 eff. cargo, will it take two colonists? Nope. 1.99. >2.) if a ship has mass 4.3, how much raw material is necessary? 4.3, >3.) With the given 8% population increase, will a planet with >population 10 grow or stagnate? It may take a while for a really small planet, but the population will grow and eventually produce a visible colonist stockepile. Howard -- Howard Bampton "The man without love gives no hostages Internet: bampton@cs.utk.edu to fortune." -- Black Omne Sys Admin, Points unknown Up