Skip to content

Commit

Permalink
Merge pull request #585 from N-J-Martin/main
Browse files Browse the repository at this point in the history
added n-fractions notebook
  • Loading branch information
ozgurakgun committed Oct 10, 2023
2 parents 42f37ab + cc7c765 commit 8b05a29
Show file tree
Hide file tree
Showing 3 changed files with 669 additions and 2 deletions.
9 changes: 7 additions & 2 deletions docs/bits/operator/L_Div.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,12 @@
This is the integer division operator.

The result is rounded down to the nearest integer.
This is meant to ensure that for integers x and y, y!=0
```
(x % y) + y * (x / y) = x
```
holds

See a worked example [here](....)
See a worked example [here](https://github.com/conjure-cp/conjure/tree/main/docs/notebooks/division_and_mod_demonstration.ipynb)

And a slightly more complex example using an instance of the n-fractions puzzle [here](...)
And a slightly more complex example using an instance of the n-fractions puzzle [here](https://github.com/conjure-cp/conjure/tree/main/docs/notebooks/division_n_fractions.ipynb)

0 comments on commit 8b05a29

Please sign in to comment.