Digital logic for computing