big.to_f â float Instance Public methods Converts big to a Float. If big doesn't fit in a Float, the result is infinity.
big.size â integer Instance Public methods Returns the number of bytes in the machine representation of big. (256**10 - 1).size #=> 12 (256**20 - 1).size #=> 20 (256**40 - 1).size #=> 40
big.remainder(numeric) â number Instance Public methods Returns the remainder after dividing big by numeric. -1234567890987654321.remainder(13731) #=> -6966 -1234567890987654321.remainder(13731.24) #=> -9906.22531493148
power!(p1) Instance Public methods Alias for: **
big.odd? â true or false Instance Public methods Returns true if big is an odd number.
big.modulo(other) â Numeric Instance Public methods Returns big modulo other. See Numeric#divmod for more information.
big.abs â aBignum Instance Public methods Returns the absolute value of big. -1234567890987654321.abs #=> 1234567890987654321
inspect(p1 = v1) Instance Public methods Alias for: to_s
big.hash â fixnum Instance Public methods Compute a hash based on the value of big.
big.fdiv(numeric) â float Instance Public methods Returns the floating point result of dividing big by numeric. -1234567890987654321.fdiv(13731) #=> -89910996357705.5 -1234567890987654321.fdiv(13731.24) #=> -89909424858035.7
Page 2233 of 2275