minus-squarecharizardcharz@lemmy.worldtoProgrammer Humor@programming.dev•How should I increment an int?linkfedilinkarrow-up0·2 months agoWhy not wait for a random bit flip to increment it? int i = 0; while (i != i + 1); //i is now incremented linkfedilink
Why not wait for a random bit flip to increment it?
int i = 0; while (i != i + 1); //i is now incremented