=begin
 This is a machine generated stub using stdlib-doc for <b>class Fixnum</b>
 Sources used:  Ruby 1.9.3p551
 Created by IntelliJ Ruby Stubs Generator.
=end

# A <code>Fixnum</code> holds <code>Integer</code> values that can be
# represented in a native machine word (minus 1 bit). If any operation
# on a <code>Fixnum</code> exceeds this range, the value is
# automatically converted to a <code>Bignum</code>.
# 
# <code>Fixnum</code> objects have immediate value. This means that
# when they are assigned or passed as parameters, the actual object is
# passed, rather than a reference to that object. Assignment does not
# alias <code>Fixnum</code> objects. There is effectively only one
# <code>Fixnum</code> object instance for any given integer value, so,
# for example, you cannot add a singleton method to a
# <code>Fixnum</code>.
class Fixnum < Integer
    # fix.to_s(base=10)  ->  string
    # 
    # Returns a string containing the representation of <i>fix</i> radix
    # <i>base</i> (between 2 and 36).
    # 
    #    12345.to_s       #=> "12345"
    #    12345.to_s(2)    #=> "11000000111001"
    #    12345.to_s(8)    #=> "30071"
    #    12345.to_s(10)   #=> "12345"
    #    12345.to_s(16)   #=> "3039"
    #    12345.to_s(36)   #=> "9ix"
    def to_s(base=10)
        #This is a stub, used for indexing
    end
    # -fix  ->  integer
    # 
    # Negates <code>fix</code> (which might return a Bignum).
    def -@ fix
        #This is a stub, used for indexing
    end
    # fix + numeric  ->  numeric_result
    # 
    # Performs addition: the class of the resulting object depends on
    # the class of <code>numeric</code> and on the magnitude of the
    # result.
    def + numeric
        #This is a stub, used for indexing
    end
    # fix - numeric  ->  numeric_result
    # 
    # Performs subtraction: the class of the resulting object depends on
    # the class of <code>numeric</code> and on the magnitude of the
    # result.
    def - numeric
        #This is a stub, used for indexing
    end
    # fix * numeric  ->  numeric_result
    # 
    # Performs multiplication: the class of the resulting object depends on
    # the class of <code>numeric</code> and on the magnitude of the
    # result.
    def * numeric
        #This is a stub, used for indexing
    end
    # fix / numeric  ->  numeric_result
    # 
    # Performs division: the class of the resulting object depends on
    # the class of <code>numeric</code> and on the magnitude of the
    # result.
    def / numeric
        #This is a stub, used for indexing
    end
    # fix.div(numeric)  ->  integer
    # 
    # Performs integer division: returns integer value.
    def div(numeric)
        #This is a stub, used for indexing
    end
    # fix % other        ->  real
    # 
    # Returns <code>fix</code> modulo <code>other</code>.
    # See <code>numeric.divmod</code> for more information.
    def % other
        #This is a stub, used for indexing
    end
    # fix.modulo(other)  ->  real
    # 
    # Returns <code>fix</code> modulo <code>other</code>.
    # See <code>numeric.divmod</code> for more information.
    def modulo(other)
        #This is a stub, used for indexing
    end
    # fix.divmod(numeric)  ->  array
    # 
    # See <code>Numeric#divmod</code>.
    def divmod(numeric)
        #This is a stub, used for indexing
    end
    # fix.fdiv(numeric)  ->  float
    # 
    # Returns the floating point result of dividing <i>fix</i> by
    # <i>numeric</i>.
    # 
    #    654321.fdiv(13731)      #=> 47.6528293642124
    #    654321.fdiv(13731.24)   #=> 47.6519964693647
    def fdiv(numeric)
        #This is a stub, used for indexing
    end
    # fix ** numeric  ->  numeric_result
    # 
    # Raises <code>fix</code> to the <code>numeric</code> power, which may
    # be negative or fractional.
    # 
    #   2 ** 3      #=> 8
    #   2 ** -1     #=> 0.5
    #   2 ** 0.5    #=> 1.4142135623731
    def ** numeric
        #This is a stub, used for indexing
    end
    # fix.abs        ->  integer
    # 
    # Returns the absolute value of <i>fix</i>.
    # 
    #    -12345.abs   #=> 12345
    #    12345.abs    #=> 12345
    def abs()
        #This is a stub, used for indexing
    end
    # fix.magnitude  ->  integer
    # 
    # Returns the absolute value of <i>fix</i>.
    # 
    #    -12345.abs   #=> 12345
    #    12345.abs    #=> 12345
    def magnitude()
        #This is a stub, used for indexing
    end
    # fix == other  ->  true or false
    # 
    # Return <code>true</code> if <code>fix</code> equals <code>other</code>
    # numerically.
    # 
    #   1 == 2      #=> false
    #   1 == 1.0    #=> true
    def == other
        #This is a stub, used for indexing
    end
    # fix == other  ->  true or false
    # 
    # Return <code>true</code> if <code>fix</code> equals <code>other</code>
    # numerically.
    # 
    #   1 == 2      #=> false
    #   1 == 1.0    #=> true
    def ===(p1)
        #This is a stub, used for indexing
    end
    # fix <=> numeric  ->  -1, 0, +1 or nil
    # 
    # Comparison---Returns -1, 0, +1 or nil depending on whether
    # <i>fix</i> is less than, equal to, or greater than
    # <i>numeric</i>. This is the basis for the tests in
    # <code>Comparable</code>.
    def <=> numeric
        #This is a stub, used for indexing
    end
    # fix > real  ->  true or false
    # 
    # Returns <code>true</code> if the value of <code>fix</code> is
    # greater than that of <code>real</code>.
    def > real
        #This is a stub, used for indexing
    end
    # fix >= real  ->  true or false
    # 
    # Returns <code>true</code> if the value of <code>fix</code> is
    # greater than or equal to that of <code>real</code>.
    def >= real
        #This is a stub, used for indexing
    end
    # fix < real  ->  true or false
    # 
    # Returns <code>true</code> if the value of <code>fix</code> is
    # less than that of <code>real</code>.
    def < real
        #This is a stub, used for indexing
    end
    # fix <= real  ->  true or false
    # 
    # Returns <code>true</code> if the value of <code>fix</code> is
    # less than or equal to that of <code>real</code>.
    def <= real
        #This is a stub, used for indexing
    end
    # ~fix  ->  integer
    # 
    # One's complement: returns a number where each bit is flipped.
    def ~ fix
        #This is a stub, used for indexing
    end
    # fix & integer  ->  integer_result
    # 
    # Bitwise AND.
    def & integer
        #This is a stub, used for indexing
    end
    # fix | integer  ->  integer_result
    # 
    # Bitwise OR.
    def | integer
        #This is a stub, used for indexing
    end
    # fix ^ integer  ->  integer_result
    # 
    # Bitwise EXCLUSIVE OR.
    def ^ integer
        #This is a stub, used for indexing
    end
    # fix[n]  ->  0, 1
    # 
    # Bit Reference---Returns the <em>n</em>th bit in the binary
    # representation of <i>fix</i>, where <i>fix</i>[0] is the least
    # significant bit.
    # 
    #    a = 0b11001100101010
    #    30.downto(0) do |n| print a[n] end
    # 
    # <em>produces:</em>
    # 
    #    0000000000000000011001100101010
    def [] n
        #This is a stub, used for indexing
    end
    # fix << count  ->  integer
    # 
    # Shifts _fix_ left _count_ positions (right if _count_ is negative).
    def << count
        #This is a stub, used for indexing
    end
    # fix >> count  ->  integer
    # 
    # Shifts _fix_ right _count_ positions (left if _count_ is negative).
    def >> count
        #This is a stub, used for indexing
    end
    # fix.to_f  ->  float
    # 
    # Converts <i>fix</i> to a <code>Float</code>.
    def to_f()
        #This is a stub, used for indexing
    end
    # fix.size  ->  fixnum
    # 
    # Returns the number of <em>bytes</em> in the machine representation
    # of a <code>Fixnum</code>.
    # 
    #    1.size            #=> 4
    #    -1.size           #=> 4
    #    2147483647.size   #=> 4
    def size()
        #This is a stub, used for indexing
    end
    # fix.zero?  ->  true or false
    # 
    # Returns <code>true</code> if <i>fix</i> is zero.
    def zero?()
        #This is a stub, used for indexing
    end
    # fix.odd?  ->  true or false
    # 
    # Returns <code>true</code> if <i>fix</i> is an odd number.
    def odd?()
        #This is a stub, used for indexing
    end
    # fix.even?  ->  true or false
    # 
    # Returns <code>true</code> if <i>fix</i> is an even number.
    def even?()
        #This is a stub, used for indexing
    end
    # fixnum.next  ->  integer
    # fixnum.succ  ->  integer
    # 
    # Returns the <code>Integer</code> equal to <i>int</i> + 1.
    # 
    #    1.next      #=> 2
    #    (-1).next   #=> 0
    def succ()
        #This is a stub, used for indexing
    end
end
