[](p1)
public
Bit Reference—Returns the +n+th bit in the binary representation of fix, where fix[0] is the least significant bit.
For example:
a = 0b11001100101010 30.downto(0) do |n| print a[n] end #=> 0000000000000000011001100101010
[](p1)
public
Bit Reference—Returns the +n+th bit in the binary representation of fix, where fix[0] is the least significant bit.
For example:
a = 0b11001100101010 30.downto(0) do |n| print a[n] end #=> 0000000000000000011001100101010