In reply to SUNODH:
That’s partially correct . There is no rounding off , only integer part is considered .
bins a1[5] = {[1:10],11,13,15};
bins a2[6] = {[1:10],11,13,15};
a1 has 5 bins divided amongst 13 values .
( 13 / 5 ) == 2 ( integer part only ) .
So each bin will cover 2 values except the last bin which would simply cover the remaining values
bins a1[5] = {[1:10],11,13,15} :: <1,2>,<3,4>,<5,6>,<7,8>,<9,10,11,13,15>
Will leave a2 for you to try