Click here to Skip to main content
15,889,527 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Dominion Voting Systems Pin
mngerhold18-Nov-20 0:46
mngerhold18-Nov-20 0:46 
GeneralRe: Dominion Voting Systems Pin
Daniel Pfeffer17-Nov-20 5:51
professionalDaniel Pfeffer17-Nov-20 5:51 
GeneralRe: Dominion Voting Systems Pin
F-ES Sitecore17-Nov-20 6:11
professionalF-ES Sitecore17-Nov-20 6:11 
GeneralRe: Dominion Voting Systems Pin
Daniel Pfeffer17-Nov-20 9:02
professionalDaniel Pfeffer17-Nov-20 9:02 
GeneralRe: Dominion Voting Systems Pin
F-ES Sitecore18-Nov-20 0:00
professionalF-ES Sitecore18-Nov-20 0:00 
GeneralRe: Dominion Voting Systems Pin
Daniel Pfeffer18-Nov-20 3:20
professionalDaniel Pfeffer18-Nov-20 3:20 
GeneralRe: Dominion Voting Systems PinPopular
fd975017-Nov-20 6:39
professionalfd975017-Nov-20 6:39 
GeneralRe: Dominion Voting Systems Pin
David O'Neil17-Nov-20 6:42
professionalDavid O'Neil17-Nov-20 6:42 
#realJSOP wrote:
What retard decided that storing vote counts as floating point numbers was a "good idea"?
It's not a good idea, but it doesn't seem to be as bad as you are implying. You would have to do far more testing than this simple program, and on the specific hardware of the machines, but on my machine it doesn't change the count by a single vote, even when using almost three times more people than there are in the US.
C++
#include <iostream>

int main() {
   __int64 test = 0;
   double d = 0;
   for (int i=0; i<16777216; ++i) {
      d = d + 1;
      }
   std::cout << d << std::endl;

   d = 0;
   for (__int64 i=0; i<1000000000; ++i) {
      d = d+1;
      }
   std::cout << d;
   return 0;
   }

GeneralRe: Dominion Voting Systems Pin
PIEBALDconsult17-Nov-20 7:08
mvePIEBALDconsult17-Nov-20 7:08 
GeneralRe: Dominion Voting Systems Pin
David O'Neil17-Nov-20 7:19
professionalDavid O'Neil17-Nov-20 7:19 
JokeRe: Dominion Voting Systems Pin
PIEBALDconsult17-Nov-20 7:06
mvePIEBALDconsult17-Nov-20 7:06 
GeneralRe: Dominion Voting Systems Pin
Dave Kreskowiak17-Nov-20 8:34
mveDave Kreskowiak17-Nov-20 8:34 
GeneralRe: Dominion Voting Systems Pin
Sander Rossel17-Nov-20 9:13
professionalSander Rossel17-Nov-20 9:13 
GeneralRe: Dominion Voting Systems Pin
jeron117-Nov-20 9:28
jeron117-Nov-20 9:28 
GeneralRe: Dominion Voting Systems Pin
Richard Andrew x6417-Nov-20 13:07
professionalRichard Andrew x6417-Nov-20 13:07 
GeneralRe: Dominion Voting Systems Pin
Chris Maunder17-Nov-20 13:58
cofounderChris Maunder17-Nov-20 13:58 
GeneralRe: Dominion Voting Systems Pin
Stephen Gonzalez17-Nov-20 15:51
Stephen Gonzalez17-Nov-20 15:51 
RantRe: Dominion Voting Systems PinPopular
r_hyde17-Nov-20 17:50
r_hyde17-Nov-20 17:50 
GeneralRe: Dominion Voting Systems Pin
James Curran18-Nov-20 12:45
James Curran18-Nov-20 12:45 
GeneralRe: Dominion Voting Systems Pin
Bruce Patin19-Nov-20 5:24
Bruce Patin19-Nov-20 5:24 
GeneralRe: Dominion Voting Systems Pin
englebart19-Nov-20 6:12
professionalenglebart19-Nov-20 6:12 
RantC# 9 Code Generators Pin
Super Lloyd17-Nov-20 0:24
Super Lloyd17-Nov-20 0:24 
GeneralRe: C# 9 Code Generators Pin
RickZeeland17-Nov-20 1:04
mveRickZeeland17-Nov-20 1:04 
GeneralRe: C# 9 Code Generators Pin
Super Lloyd17-Nov-20 1:09
Super Lloyd17-Nov-20 1:09 
GeneralRe: C# 9 Code Generators Pin
RickZeeland17-Nov-20 1:24
mveRickZeeland17-Nov-20 1:24 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.