Ruby seamlessly converts between numbers that the computer can handle natively.
It does this with different classes.
Fixnum class represents smaller numbers.
Bignum class represents "big" numbers.
The boundary is the number 1,073,741,823:
puts 1073741823.class #Fixnum puts 1073741824.class #Bignum