**

big ** exponent â numeric Instance Public methods Raises big to the exponent power (which may be an integer, float, or anything that will coerce to a number). The result may be a Fixnum, Bignum, or Float 123456789 ** 2 #=> 15241578750190521 123456789 ** 1.2 #=> 5126464716.09932 123456789 ** -2 #=> 6.5610001194102e-17 power!

+

big + other â Numeric Instance Public methods Adds big and other, returning the result.

-

big - other â Numeric Instance Public methods Subtracts other from big, returning the result.

-@

-big â integer Instance Public methods Unary minus (returns an integer whose value is 0-big)

/ 2

big / other â Numeric Instance Public methods Performs division: the class of the resulting object depends on the class of numeric and on the magnitude of the result.

<

big Instance Public methods Returns true if the value of big is less than that of real.

<<

big Instance Public methods Shifts big left numeric positions (right if numeric is negative).

<=

big Instance Public methods Returns true if the value of big is less than or equal to that of real.

<=>

big numeric â -1, 0, +1 or nil Instance Public methods ComparisonâReturns -1, 0, or +1 depending on whether big is less than, equal to, or greater than numeric. This is the basis for the tests in Comparable. nil is returned if the two values are incomparable.

==

big == obj â true or false Instance Public methods Returns true only if obj has the same value as big. Contrast this with Bignum#eql?, which requires obj to be a Bignum. 68719476736 == 68719476736.0 #=> true