struct BigInt

Superclass hierarchy

Object
Value
Number
Int
BigInt

Included Modules

Comparable(BigInt), Comparable(SignedInt), Comparable(UnsignedInt)

Defined in:

Class Method Summary

Instance Method Summary

Class Method Detail

def self.cast(value)

def self.new(&block)

def self.new(str : String, base = 10)

def self.new(num : SignedInt)

def self.new(num : UnsignedInt)

def self.new(mpz : LibGMP::MPZ)

def self.new

Instance Method Detail

def %(other : Int)

def %(other : BigInt)

def &(other : Int)

def *(other : SignedInt)

def *(other : BigInt)

def *(other : UnsignedInt)

def +(other : BigInt)

def +(other : Int)

def -(other : BigInt)

def -(other : Int)

def -

def /(other : BigInt)

def /(other : Int)

def <<(other : Int)

def <=>(other : SignedInt)

def <=>(other : BigInt)

def <=>(other : UnsignedInt)

def >>(other : Int)

def ^(other : Int)

def abs

def digits

def inspect

def inspect(io)

def to_big_i

def to_f

def to_f32

def to_f64

def to_i

def to_i16

def to_i32

def to_i64

def to_i8

def to_s(base : Int)

def to_s(io)

def to_s

def to_u

def to_u16

def to_u32

def to_u64

def to_u8

def to_unsafe

def |(other : Int)

def ~