Skip to content

Add .divmod() description#189

Closed
alexstep wants to merge 1 commit intoindutny:masterfrom
alexstep:master
Closed

Add .divmod() description#189
alexstep wants to merge 1 commit intoindutny:masterfrom
alexstep:master

Conversation

@alexstep
Copy link

* `a.div(b)` - divide (`divn`, `idivn`)
* `a.mod(b)` - reduct (`u`, `n`) (but no `umodn`)
* `a.divRound(b)` - rounded division
* `a.divmod(b)` - quotient and modulus obtained by dividing (`divn`, `modn`)
Copy link
Contributor

@dcousens dcousens Jun 20, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(divn, modn)

These aren't alternative function names?

@fanatid
Copy link
Collaborator

fanatid commented Feb 23, 2021

Added in #270

@fanatid fanatid closed this Feb 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants