[issue45584] Clarifying truncating in documentation

2022-04-02 Thread miss-islington
miss-islington added the comment: New changeset 694425817ba2b3a796acb3413a7111f6de4bd086 by Miss Islington (bot) in branch '3.9': bpo-45584: Clarify `math.trunc` documentation (GH-29183) https://github.com/python/cpython/commit/694425817ba2b3a796acb3413a7111f6de4bd086 --

[issue45584] Clarifying truncating in documentation

2022-04-02 Thread miss-islington
miss-islington added the comment: New changeset 3031b867531009d270d5d7d3e53e739c4cba8816 by Miss Islington (bot) in branch '3.10': bpo-45584: Clarify `math.trunc` documentation (GH-29183) https://github.com/python/cpython/commit/3031b867531009d270d5d7d3e53e739c4cba8816 --

[issue45584] Clarifying truncating in documentation

2022-04-02 Thread Jelle Zijlstra
Jelle Zijlstra added the comment: Thanks for the patch! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue45584] Clarifying truncating in documentation

2022-04-02 Thread miss-islington
Change by miss-islington : -- pull_requests: +30336 pull_request: https://github.com/python/cpython/pull/32273 ___ Python tracker ___

[issue45584] Clarifying truncating in documentation

2022-04-02 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 7.0 -> 8.0 pull_requests: +30335 pull_request: https://github.com/python/cpython/pull/32272 ___ Python tracker

[issue45584] Clarifying truncating in documentation

2022-04-02 Thread Jelle Zijlstra
Jelle Zijlstra added the comment: New changeset ebbdbbff5d6840807e46ec61b8a323e94ee88de2 by Arthur Milchior in branch 'main': bpo-45584: Clarify `math.trunc` documentation (GH-29183) https://github.com/python/cpython/commit/ebbdbbff5d6840807e46ec61b8a323e94ee88de2 -- nosy:

[issue45584] Clarifying truncating in documentation

2021-11-01 Thread Arthur Milchior
Arthur Milchior added the comment: Done -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45584] Clarifying truncating in documentation

2021-11-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: Yes, revise and retest your branch and push it. -- ___ Python tracker ___ ___ Python-bugs-list

[issue45584] Clarifying truncating in documentation

2021-11-01 Thread Arthur Milchior
Arthur Milchior added the comment: I'm quite fan of your suggestion. Should I push it on the PR? Do you create another PR? I'm not used to BPO, I beg your pardon, only to github -- ___ Python tracker

[issue45584] Clarifying truncating in documentation

2021-11-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: Current docs: math.ceil(x) Return the ceiling of x, the smallest integer greater than or equal to x. If x is not a float, delegates to x.__ceil__(), which should return an Integral value. math.floor(x) Return the floor of x, the largest integer

[issue45584] Clarifying truncating in documentation

2021-10-22 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch nosy: +python-dev nosy_count: 2.0 -> 3.0 pull_requests: +27457 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29183 ___ Python tracker

[issue45584] Clarifying truncating in documentation

2021-10-22 Thread Arthur Milchior
New submission from Arthur Milchior : While floor/ceil 's documentation are very precise, `truncate` was not explained. I actually had to search online to understand the difference between `truncate` and `floor` (admittedly, once I remembered that numbers are signed, and that floating