fossilesque@mander.xyzM to Science Memes@mander.xyzEnglish · edit-21 year agoBiology OPmander.xyzimagemessage-square18fedilinkarrow-up14arrow-down10
arrow-up14arrow-down1imageBiology OPmander.xyzfossilesque@mander.xyzM to Science Memes@mander.xyzEnglish · edit-21 year agomessage-square18fedilink
minus-squareXavienth@lemmygrad.mllinkfedilinkEnglisharrow-up0·1 year agoSubtract divisor from dividend until you hit zero. Number of subtractions is the quotient. Don’t ask about non-whole numbers.
minus-squareOmega_Haxors@lemmy.mllinkfedilinkEnglisharrow-up0·1 year agoThe remainder is the amount of overflow when you go below zero.
minus-squareOmega_Haxors@lemmy.mllinkfedilinkEnglisharrow-up0·edit-21 year agoIt recursively subtracts until the number goes at or below zero. The iterations is the output and the reminder is how much it went below zero.
But…how?
Subtract divisor from dividend until you hit zero. Number of subtractions is the quotient. Don’t ask about non-whole numbers.
The remainder is the amount of overflow when you go below zero.
It recursively subtracts until the number goes at or below zero. The iterations is the output and the reminder is how much it went below zero.