PassiveSupport.Integer.remdiv
You're seeing just the function
remdiv
, go back to PassiveSupport.Integer module for more information.
Link to this function
remdiv(dividend, divisor)
Specs
Returns the quotient and the remainder of dividend ÷ divisor
Examples
iex> remdiv(3, 2)
{1, 1}
iex> remdiv(-325, 60)
{-5, -25}
iex> remdiv(11, 3)
{3, 2}