Repository navigation
Move internal docs for fractions module to InternalDocs/fractions.md - #162475
skirpichev wants to merge 9 commits into
Conversation
This covers algorithms for addition/subtraction/multiplication.
|
Rendered version: This is a follow-up to #95723: proof of correctness, but this time - for arithmetics. I'm not sure if it worth: github-powered rendering of math is horrible. Though, maybe it will be improved someday. Few questions:
|
|
CC @mdickinson |
Co-authored-by: Stan Ulbrych <stan@python.org>
Co-authored-by: Stan Ulbrych <stan@python.org>
There was a problem hiding this comment.
Why is this pending?
I'm trying to reduce number of my opened prs. So, I put pending label after some time of no-activity. And close them after +1-1.5 months.
Edit: closed prs are still linked to open issues, may be reviewed and reviewers may ask to reopen them.
| # Khinchin (1964), Theorem 15. See also | ||
| # InternalDocs/fractions.md for details. |
There was a problem hiding this comment.
| # Khinchin (1964), Theorem 15. See also | |
| # InternalDocs/fractions.md for details. | |
| # Khinchin (1964), Theorem 15. |
I would prefer to revert this, however. Comments in the module are
self-consistent. The InternalDocs also is a standard place for internal
documentation. Not need to mention it each time, IMO.
| # As for addition/subtraction, we should special-case g1 == 1 | ||
| # and g2 == 1 for same reason. That happens also for multiplying | ||
| # rationals, obtained from floats. | ||
| # See also InternalDocs/fractions.md for details. |
There was a problem hiding this comment.
Ditto here.
| # See also InternalDocs/fractions.md for details. |
This covers algorithms for addition/subtraction/multiplication.