Title: Refactor math module to use C99+ special functions (erf, erfc, etc) · Issue #101678 · python/cpython · GitHub
Open Graph Title: Refactor math module to use C99+ special functions (erf, erfc, etc) · Issue #101678 · python/cpython
X Title: Refactor math module to use C99+ special functions (erf, erfc, etc) · Issue #101678 · python/cpython
Description: The PEP 7 documents, that we must use C11 (without optional features) since CPython 3.11. erf, erfc, lgamma and tgamma (math.gamma) are part of the C99 (and mandatory for C11 too). Probably, it's not a bad idea to get rid of custom imple...
Open Graph Description: The PEP 7 documents, that we must use C11 (without optional features) since CPython 3.11. erf, erfc, lgamma and tgamma (math.gamma) are part of the C99 (and mandatory for C11 too). Probably, it's n...
X Description: The PEP 7 documents, that we must use C11 (without optional features) since CPython 3.11. erf, erfc, lgamma and tgamma (math.gamma) are part of the C99 (and mandatory for C11 too). Probably, it'...
Opengraph URL: https://github.com/python/cpython/issues/101678
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Refactor math module to use C99+ special functions (erf, erfc, etc)","articleBody":"The PEP 7 documents, that we must use C11 (without optional features) since CPython 3.11. erf, erfc, lgamma and tgamma (math.gamma) are part of the C99 (and mandatory for C11 too).\r\n\r\nProbably, it's not a bad idea to get rid of custom implementations of such functions or document why it's present (e.g. for some exotic platform, broken libc implementation, speed optimization, etc). Keep in mind, that this code isn't tested by CI if we optionally include using standard implementations (as for erf with `#ifdef HAVE_ERF`).\r\n\r\n\u003c!-- gh-linked-prs --\u003e\r\n### Linked PRs\r\n* gh-101679\r\n* gh-101730\n\u003c!-- /gh-linked-prs --\u003e\r\n","author":{"url":"https://github.com/skirpichev","@type":"Person","name":"skirpichev"},"datePublished":"2023-02-08T06:45:40.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":20},"url":"https://github.com/101678/cpython/issues/101678"}
| 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:115b4a9b-8757-5cdc-65c7-fa702edfd842 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A8E2:2D5987:11B1A5:182A99:69696402 |
| html-safe-nonce | 602f4d4fb4c1902c8a444745eb198651529df6f7839884a98dbc4dd4451274b7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBOEUyOjJENTk4NzoxMUIxQTU6MTgyQTk5OjY5Njk2NDAyIiwidmlzaXRvcl9pZCI6IjExNjkzOTI2NTAxMjA5NDY2OTAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 052f69ad1b3ce3fd7a092320bfe9bb200b085dc809f79013b82696e756f1ce50 |
| hovercard-subject-tag | issue:1575575547 |
| 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/101678/issue_layout |
| twitter:image | https://opengraph.githubassets.com/46e0ece64bd27be23987c2c15fd31fe9d2230256f7ac62c1b792a34ab89539f4/python/cpython/issues/101678 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/46e0ece64bd27be23987c2c15fd31fe9d2230256f7ac62c1b792a34ab89539f4/python/cpython/issues/101678 |
| og:image:alt | The PEP 7 documents, that we must use C11 (without optional features) since CPython 3.11. erf, erfc, lgamma and tgamma (math.gamma) are part of the C99 (and mandatory for C11 too). Probably, it's n... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | skirpichev |
| hostname | github.com |
| expected-hostname | github.com |
| None | 48487c1ad776a7975b7132d95f4240ff3ae37cd5b8e3cb597102a4edb76738f1 |
| 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 | 669463fcc54773a88c1f5a44eef6b99a5504b9c7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width