#!/usr/bin/ruby require 'gmp' a=GMP::Z.new(1234) b=GMP::Z.new(5678) (1..100000).each { |i| a+=b b+=a } # print a,"\n","----\n",b,"\n"