Title: Floating point tutorial: "today (November 2000)" · Issue #104479 · python/cpython · GitHub
Open Graph Title: Floating point tutorial: "today (November 2000)" · Issue #104479 · python/cpython
X Title: Floating point tutorial: "today (November 2000)" · Issue #104479 · python/cpython
Description: Documentation It says: Almost all machines today (November 2000) use IEEE-754 floating point arithmetic, and almost all platforms map Python floats to IEEE-754 “double precision”. 754 doubles contain 53 bits of precision, [...] That feel...
Open Graph Description: Documentation It says: Almost all machines today (November 2000) use IEEE-754 floating point arithmetic, and almost all platforms map Python floats to IEEE-754 “double precision”. 754 doubles conta...
X Description: Documentation It says: Almost all machines today (November 2000) use IEEE-754 floating point arithmetic, and almost all platforms map Python floats to IEEE-754 “double precision”. 754 doubles conta...
Opengraph URL: https://github.com/python/cpython/issues/104479
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Floating point tutorial: \"today (November 2000)\"","articleBody":"# Documentation\r\n\r\nIt [says](https://docs.python.org/3.11/tutorial/floatingpoint.html?highlight=floating#representation-error):\r\n\r\n\u003e Almost all machines today (November 2000) use IEEE-754 floating point arithmetic, and almost all platforms map Python floats to IEEE-754 “double precision”. 754 doubles contain 53 bits of precision, [...]\r\n\r\nThat feels really weird, computer documentation written 22.5 years ago. I don't know what to think of that, whether that can be trusted today. I suggest to update that.\r\n\r\nI also suggest to not start the next sentence with \"754 doubles\" but with \"IEEE-754 doubles\", both for style (don't start a sentence with a digit) and because it reads like a number of doubles instead of the kind of doubles (i.e., like \"3 apples\").\r\n\r\n@mdickinson \n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-104681\n* gh-104960\n* gh-104961\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/pochmann","@type":"Person","name":"pochmann"},"datePublished":"2023-05-14T16:55:55.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":11},"url":"https://github.com/104479/cpython/issues/104479"}
| 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:5d286464-8be2-f090-bd23-11580bed57f4 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EB36:1025CE:27BB95:35661C:6969A9C3 |
| html-safe-nonce | c6e419691615bb444ae931bb36bac9cd615072f47b8dec39a2ec246d7cbad78f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQjM2OjEwMjVDRToyN0JCOTU6MzU2NjFDOjY5NjlBOUMzIiwidmlzaXRvcl9pZCI6IjU3MzM4NDk4NjI1NzM2OTUzOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 30901fc40c6728110b4b638177740e4f6fff163aef11cacd56a174c74afed33a |
| hovercard-subject-tag | issue:1709007499 |
| 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/104479/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c42d09d5f991638c32a6afab961b35d462b012b16733e3840bbcf8ce301a683b/python/cpython/issues/104479 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c42d09d5f991638c32a6afab961b35d462b012b16733e3840bbcf8ce301a683b/python/cpython/issues/104479 |
| og:image:alt | Documentation It says: Almost all machines today (November 2000) use IEEE-754 floating point arithmetic, and almost all platforms map Python floats to IEEE-754 “double precision”. 754 doubles conta... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | pochmann |
| hostname | github.com |
| expected-hostname | github.com |
| None | 24c4c97a2d520cb286b35e1a4c22d7a4df3c26a2fa28dd7cdf0e65db327b4de7 |
| 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 | 124667f43168afb6c9c03b7c02eb5b1d2e1be3d9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width