fork download
  1. f={Long.toBinaryString(it).size()}
  2. [1,2,3,4,7,8,15,16,128,4294967295].each{println f(it)}
Success #stdin #stdout 0.58s 332864KB
stdin
Standard input is empty
stdout
1
2
2
3
3
4
4
5
8
32