# File lib/rational.rb, line 265
  def divmod(other)
    value = (self / other).to_i
    return value, self - other * value
  end