# View Chat Message

Not positive, but I believe that is the most you can anybody can wager.

Does that mean there is a limit on the number of points that can be accumulated in Sploofus?

Technically, the 32-bit values can be 0 through 4,294,967,295 which is approximately twice the value in question. That's because this odd number, when divided by 2, results in a quotient containing a fractional value of 2,147,483,647.5.

So, the Sploofus programmer used the quotient without the fractional component to represent the range of −2,147,483,648 through 2,147,483,647. This was probably done to enable a REDUCTION (by use of the NEGATIVE value) in total points in case the wager was unsuccessful!

Hope that helps.

John

Ya.. what he said

My guess is that both limits are arbitrary. For starters, Kravfighter has had over 25,000,000 points, 10 times the 32-bit limit, so the database limit is obviously larger than that. For addition and subtraction there seems to be no limit yet.

Also, if you have more than 8.59 billion points when you choose to do a wager, the setup page calculates the maximum wager as 25% of your total points and lets you insert that value in the box on the page. Only after you win or lose do you find out that the wager value was actually limited to 2,147,483,647.

Likewise, if you have more than 2.147 billion points when challenging someone to a showdown, the values shown for winning and losing are calculated as 10% of the challenger's and challengee's total points. Again, only after the showdown is complete do you discover that you have won or lost no more than 214,748,364 points. BTW, the challengee in that showdown is informed correctly that winning would be worth 214M points.

Most Intel and AMD processors made since late 2002 for PCs and servers are capable of 64-bit arithmetic and that seems to be exactly why the showdown and wager pages continue to calculate the 10% and 25% values as if there were no limits. With 64 bits, one can work with integers as large as 2**63 - 1 or 9.223X10**18 or 9.223 quintillion. I'm not absolutely sure of my calculations here, but it's a BIG number, about 9,223,372,036,854,775,807.

So 2,147,483,647 for wagers and 214,748,364 for showdowns are not limits imposed by arithmetic in the system. It's not the limit in the database or no one would have more than 2 billion points. My guess is that both the wager and showdown limits have been arbitrarily imposed by Sploofus, probably to keep the databases and displays manageable.

John

That's what it was. Thanks.

Sblv(Level: 195.8 - Posts: 337)Thu, 11th Jan '07 12:41 AMCONGRATULATIONS! BUT I AM ONLY WONDERING...Monthly Wager Records (Top 10) for January

THE BIGGEST WINNERS

Username Date Wager

1 - rnmorg 01/03/2007 2,147,483,647

2 - keebydog 01/03/2007 2,147,483,647

3 - larrybus 01/03/2007 2,147,483,647

4 - larrybus 01/03/2007 2,147,483,647

...why is the wager amount exactly the same?