Title: test_Normalize fails on aarch64/ppc64le/s390x · Issue #23707 · matplotlib/matplotlib · GitHub
Open Graph Title: test_Normalize fails on aarch64/ppc64le/s390x · Issue #23707 · matplotlib/matplotlib
X Title: test_Normalize fails on aarch64/ppc64le/s390x · Issue #23707 · matplotlib/matplotlib
Description: matplotlib/lib/matplotlib/tests/test_colors.py Lines 577 to 579 in 4cf54f4 # This returns exactly 0.5 when longdouble is extended precision (80-bit), # but only a value close to it when it is quadruple precision (128-bit). np.testing.ass...
Open Graph Description: matplotlib/lib/matplotlib/tests/test_colors.py Lines 577 to 579 in 4cf54f4 # This returns exactly 0.5 when longdouble is extended precision (80-bit), # but only a value close to it when it is quadr...
X Description: matplotlib/lib/matplotlib/tests/test_colors.py Lines 577 to 579 in 4cf54f4 # This returns exactly 0.5 when longdouble is extended precision (80-bit), # but only a value close to it when it is quadr...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/23707
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"test_Normalize fails on aarch64/ppc64le/s390x","articleBody":"https://github.com/matplotlib/matplotlib/blob/4cf54f4f837a3ba974f9fac9255dc0db227064bc/lib/matplotlib/tests/test_colors.py#L577-L579\r\n\r\nThis seems to be a bit too strict now, as it is failing on aarch64, ppc64le, and s390x, where the result is 0.50096339.\r\n\r\nAlso, on my 64-bit AMD system, which is apparently using `np.float128` for `np.longdouble` (though I don't know if that means 80-bit internally), it seems to return 0.5 exactly, which seems the opposite of the comment.\r\n\r\n_Originally posted by @QuLogic in https://github.com/matplotlib/matplotlib/pull/21634#discussion_r951848616_","author":{"url":"https://github.com/QuLogic","@type":"Person","name":"QuLogic"},"datePublished":"2022-08-22T19:57:51.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/23707/matplotlib/issues/23707"}
| 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:15fc0d9b-d818-ee48-11f2-1c2c81027072 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D1C4:E7D9B:14CE1A:1BCB3E:6A5162D0 |
| html-safe-nonce | 53603bc1ea08e5299236888da6f29d458de15747a092a4f9be03e1bdf34d27f1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMUM0OkU3RDlCOjE0Q0UxQToxQkNCM0U6NkE1MTYyRDAiLCJ2aXNpdG9yX2lkIjoiNjM4NDk5MzczMjI5MTI4OTgwOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 2ad4a079e4eae937ac409758a0d165b50203720125d92b14eebe0869f8a3589a |
| hovercard-subject-tag | issue:1346910292 |
| 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/matplotlib/matplotlib/23707/issue_layout |
| twitter:image | https://opengraph.githubassets.com/16ded3fcf4872a1cfeb6749965da9ca9265c37f7780a7560163c91c19685564a/matplotlib/matplotlib/issues/23707 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/16ded3fcf4872a1cfeb6749965da9ca9265c37f7780a7560163c91c19685564a/matplotlib/matplotlib/issues/23707 |
| og:image:alt | matplotlib/lib/matplotlib/tests/test_colors.py Lines 577 to 579 in 4cf54f4 # This returns exactly 0.5 when longdouble is extended precision (80-bit), # but only a value close to it when it is quadr... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | QuLogic |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| go-import | github.com/matplotlib/matplotlib git https://github.com/matplotlib/matplotlib.git |
| octolytics-dimension-user_id | 215947 |
| octolytics-dimension-user_login | matplotlib |
| octolytics-dimension-repository_id | 1385122 |
| octolytics-dimension-repository_nwo | matplotlib/matplotlib |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1385122 |
| octolytics-dimension-repository_network_root_nwo | matplotlib/matplotlib |
| 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 | 2eeb434949a926fad21064b4d395a54759f7a0b2 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width