Modulus division when first number is smaller than second number

前端 未结 6 738
时光取名叫无心
时光取名叫无心 2021-01-04 00:20

I apologize if this is a simple question but I\'m having trouble grasping the concept of modulus division when the first number is smaller than the second number. For exampl

6条回答
  •  执念已碎
    2021-01-04 01:12

    Another way to think of it as a representation of your number in multiples of another number. I.e, a = n*b + r, where b>r>=0. In this sense your case gives 1 = 0*4 + 1. (edit: talking about positive numbers only)

提交回复
热议问题