Skip to content

QuotientRemainder

QuotientRemainder(m, n)

computes a list of the quotient and remainder from division of m and n.

See

Examples

>> QuotientRemainder(23, 7)
{3,2}

Infinite expression QuotientRemainder(13, 0) encountered.

>> QuotientRemainder(13, 0)
QuotientRemainder(13, 0)
>> QuotientRemainder(-17, 7)
{-3,4}
>> QuotientRemainder(-17, -4)
{4,-1}
>> QuotientRemainder(19, -4)
{-5,-1}

Implementation status

  • ✅ - full supported

Github