fxfirst_bit_set


fxfirst_bit_set(fx)
      

Return the index of the least significant bit set in the fixnum fx. If fx is zero, return -1.

Examples:


fxfirst_bit_set(12)
// 2
      

Also see:

fxbit_count
fxbit_is_set
fxlength
fxshift


Core Module Index | Contents