in reply to Can't make up my mind

The likelyhood that (rand % rand) will return false is one out of 4^randbits... Did you possibly mean (int(rand(2)) or (rand>.5)? (UPD: Typo!)