Board Thread:Game Discussion/@comment-2A01:CB08:819A:D900:54:19E6:D976:188F-20180814014953/@comment-2A00:23C4:323:6000:75DD:A480:37BA:702F-20180814094420

JPHARP030456 wrote: 2A00:23C4:323:6000:E486:2BC9:3142:E970 wrote: There is an absolute (stable) ceiling of R$ 2,146,483,647 which is R$ 1,000,000 below the 32-bit integer limit of 2,147,483,647.

If one wins a race whilst at the stable R$ ceiling the numbers will count up, adding the R$ reward, and then count back down to the R$ ceiling. The race summary page will show a R$ reward of 0 (zero).

Not sure what happens if the integer limit is exceeded if the R$ reward is > 1,000,000. So if at this limit, you win a race with R$ > 1,000,000, the counter might turn to 0 making you end up with losing up to 2 Bio of R$? Frightening. Right, did a little experiment.

If at the highest stable R$ amount and one wins a race that pays >R$1,000,000 the following happens:

As the R$ counter increases it will reach the integer limit of 2,147,483,647

As it tries to pass the integer limit the counter turns negative and the number value counts down.

The R$ counter remains negative whilst the fame amount is awarded, indeed it counts up - or rather becomes less negative depending how you define it.

On reaching the summary page the R$ returns to a positive and resets once again at the upper stable R$ limit of 2,146,483,647

On the experiment I tried the values were:

Starting R$ 2,146,483,647

Winning R$ 1,255,060

Amount indicating after winning R$ awarded R$ -2,146,914,849

Amount counting to after fame awarded R$ -2,125,796,088, immediately resetting to R$ (+)2,146,483,647