fix >> count â integer Instance Public methods Shifts fix right count positions (left if count is negative).
fix[n] â 0, 1 Instance Public methods Bit ReferenceâReturns the nth bit in the binary representation of fix, where fix is the least significant bit. a = 0b11001100101010 30.downto(0) do |n| print a[n] end produces: 0000000000000000011001100101010
fix ^ integer â integer_result Instance Public methods Bitwise EXCLUSIVE OR.
fix.abs â integer Instance Public methods Returns the absolute value of fix. -12345.abs #=> 12345 12345.abs #=> 12345
dclone() Instance Public methods provides a unified clone operation, for REXML::XPathParser to use across multiple Object types
fix.div(numeric) â integer Instance Public methods Performs integer division: returns integer value.
fix.divmod(numeric) â array Instance Public methods See Numeric#divmod.
fix.even? â true or false Instance Public methods Returns true if fix is an even number.
fix.fdiv(numeric) â float Instance Public methods Returns the floating point result of dividing fix by numeric. 654321.fdiv(13731) #=> 47.6528293642124 654321.fdiv(13731.24) #=> 47.6519964693647
inspect(p1 = v1) Instance Public methods Alias for: to_s
Page 256 of 11844