4 ms·edit: condensed code a bit Well well, the other version seemed to work ;-)by jonsen 16y agoedit: condensed code a bit Well well, the other version seemed to work ;-)axod 16y agoWasn't quite as elegant though, and 10 instructions vs 8.jonsen 16y agoElegance is in the eye of the beholder. I found your first version easier to grasp.