title: set integer value as bit mask
body: <p>What is simplest way to assign a bit mask to integer value?
  For example I want integer with first, third and forth bits = 1, other = 0.</p>
  
  <p>Certainly I am looking for code, not for single value! And certainly there lot of possibilities, but I try to find simplest and most descriptive looking</p>