Out of curiosity...
I wonder if it will round towards zero if we change the current:
<iAmountPerTurn>
<Div>
<Mult>
<AttributeType>ATTRIBUTE_POPULATION</AttributeType>
<Constant>11</Constant>
</Mult>
<Constant>-3</Constant>
</Div>
</iAmountPerTurn>
To:
<iAmountPerTurn>
<Mult>
<Div>
<Mult>
<AttributeType>ATTRIBUTE_POPULATION</AttributeType>
<Constant>11</Constant>
</Mult>
<Constant>3</Constant>
</Div>
<Constant>-1</Constant>
</Mult>
</iAmountPerTurn>
That it would be done in several steps like so: ( population = 10 )
IntegerValue = 11*10 = 110
IntegerValue = 110 / 3 = 36.66 = 36
IntegerValue = 36 * -1 = -36
instead of:
IntegerValue = -1 * 11 * 10 / 3 = -36.66 = -37
Can someone check in how many steps the calculation would be done? (
@AIAndy ?)
It doesn't really matter much whether it rounds up or down for the handicap property per population modifiers, the steps between the difficulties will be pretty much the same regardless.