MASTER VOTE MACHINE USES FLOAT INSTEAD OF INTEGER !

I agree in priciple but we are mandated to have a secret ballot so any metadata on the votes that could be used to link back to the person voting could compromise that ideal. Still i think we otta throw it out and make it so you can audit the voting database and see how your vote was counted.

You can do it all in ints, just use modulus to account for any remainder that got scraped off or save your total before doing the skewing and then ensure your total still equals the saved total.

should we meme fix your site kike monkey?

Going to play devil's advocate for the sake of argument. The only instance I can think of in which there's a legitimate reason to use floats is if you need to store a very high number. Ints can go up to 2^32 which is 4 billion, but if you don't have those numbers memorized like I do you might abstain from using ints (though you'd just use a fucking long). Maybe the coder was an asshat and decided floats were best, they still retain their precision up to an extremely high value, much higher than ints. So maybe the GEMS programmer didn't know longs existed and used a float. Especially considering floats can go to higher numbers than longs and use less space. Also, gems isn't solely used for presidential elections. Maybe there's a case where they needed to count 8 trillion votes.

Anyways, that's absurd, I don't believe it was programmed without the intention of malice in mind. That was just a scenario.

10/10 post, except you didn't mention those who learned via rote memorization etc and do not have a passion for programming, will not generally go on to get a programming job and excell in that environment. Theyy will only get hiehired if tbeyre a mSeen too many of them when I was at uni.ority or a woman and there's affirmative action going on.

Sorry, in mobile so typing is shit. :^)

Isn't that a little odd? Only addition is required in the counting operation right? Surely this only requires an integer operation.

What is unsigned long long int? Integers in both C and C++ go to to 64bits user.

en.cppreference.com/w/cpp/language/types

0 to 18,446,744,073,709,551,615