Title: Optimise math.ceil for known exact float · Issue #110489 · python/cpython · GitHub
Open Graph Title: Optimise math.ceil for known exact float · Issue #110489 · python/cpython
X Title: Optimise math.ceil for known exact float · Issue #110489 · python/cpython
Description: Do the same optimisation done by rhettinger for math.floor in #21072 Linked PRs gh-108801
Open Graph Description: Do the same optimisation done by rhettinger for math.floor in #21072 Linked PRs gh-108801
X Description: Do the same optimisation done by rhettinger for math.floor in #21072 Linked PRs gh-108801
Opengraph URL: https://github.com/python/cpython/issues/110489
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Optimise math.ceil for known exact float","articleBody":"Do the same optimisation done by rhettinger for math.floor in https://github.com/python/cpython/pull/21072\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-108801\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/hauntsaninja","@type":"Person","name":"hauntsaninja"},"datePublished":"2023-10-06T22:25:10.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/110489/cpython/issues/110489"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:cca194b9-a53f-adbf-f859-db360dcc9d84 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D95C:21279A:4314D4:56C60C:696B0982 |
| html-safe-nonce | 66f95c67e101a1894824f6845da748df8bd69ba34cf8e42b7dd4a0d97226dd71 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEOTVDOjIxMjc5QTo0MzE0RDQ6NTZDNjBDOjY5NkIwOTgyIiwidmlzaXRvcl9pZCI6IjQ0ODM3MDA4MzA5MDgzODU2NjYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | c425282f4b2ab97066139d69c78c2ff0c61273ca73ef25b6d16f2ae83cf1b52c |
| hovercard-subject-tag | issue:1931001802 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/110489/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1bbffe864aedebd979c6bef148ad3b50387bfaba28f6b390dadfeea4b925cb14/python/cpython/issues/110489 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1bbffe864aedebd979c6bef148ad3b50387bfaba28f6b390dadfeea4b925cb14/python/cpython/issues/110489 |
| og:image:alt | Do the same optimisation done by rhettinger for math.floor in #21072 Linked PRs gh-108801 |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | hauntsaninja |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width