Title: `
Open Graph Title: `
X Title: `
Description: Reported as DevCom-1592387 by Christopher Dannemiller: When values are converted from string to a floating-point at the exact rounding boundary, the resulting values in the compiler and std::from_chars are incorrect. Since there are a la...
Open Graph Description: Reported as DevCom-1592387 by Christopher Dannemiller: When values are converted from string to a floating-point at the exact rounding boundary, the resulting values in the compiler and std::from_c...
X Description: Reported as DevCom-1592387 by Christopher Dannemiller: When values are converted from string to a floating-point at the exact rounding boundary, the resulting values in the compiler and std::from_c...
Opengraph URL: https://github.com/microsoft/STL/issues/2363
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"`\u003ccharconv>`: `from_chars()` incorrectly tiebreaks `float`s","articleBody":"Reported as DevCom-1592387 by Christopher Dannemiller:\r\n\r\n> When values are converted from string to a floating-point at the exact rounding boundary, the resulting values in the compiler and `std::from_chars` are incorrect. Since there are a large number of values, ~8million on the positive side, that have this problem, I have only included one example:\r\n\r\n> **`131071.98828125f`**, this should result in the floating-point value `0x47fffffe` stored in hex. However, MSVC v19.29 gives `0x47ffffff`. This can be explored using the following Godbolt link https://godbolt.org/z/r7Ks9GMEb. MSVC v19.28 and earlier, along with GCC and Clang, provide the correct results. This indicates that this is a regression in the compiler.\r\n\r\nAlso tracked by VSO-1441452 / AB#1441452 . We'll need to inform the UCRT and compiler when we have a fix.","author":{"url":"https://github.com/StephanTLavavej","@type":"Person","name":"StephanTLavavej"},"datePublished":"2021-11-30T04:17:54Z","url":"https://github.com/microsoft/STL/issues/2363"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| 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:4e5513b1-ebcb-6185-d85b-20338ebf35ed |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 90A2:12796C:10183CB:16E5084:6AF65FC7 |
| html-safe-nonce | a09894f3671e8ebc3dcdc7e08a8af56576874a3627d193fdf88a21fa0b51d21c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MEEyOjEyNzk2QzoxMDE4M0NCOjE2RTUwODQ6NkFGNjVGQzciLCJ2aXNpdG9yX2lkIjoiMzcwMTg2MTA5NDc5Mjc4MTc2NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 4770a605afffa5cfd43756ff056dfbc03e3d8e677ba766ff8bf40146827b6e36 |
| hovercard-subject-tag | issue:1066771866 |
| 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/microsoft/STL/2363/issue_layout |
| twitter:image | https://opengraph.githubassets.com/90c20b6ac5280b621f3ef537d93378076eacf0a47db7f7fc9cff578eb340fb82/microsoft/STL/issues/2363 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/90c20b6ac5280b621f3ef537d93378076eacf0a47db7f7fc9cff578eb340fb82/microsoft/STL/issues/2363 |
| og:image:alt | Reported as DevCom-1592387 by Christopher Dannemiller: When values are converted from string to a floating-point at the exact rounding boundary, the resulting values in the compiler and std::from_c... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | StephanTLavavej |
| hostname | github.com |
| expected-hostname | github.com |
| None | fded9ab97d594702a6a4ebcef0ee4f94c91fb16da7c62cac91ee0125e9c2d58c |
| turbo-cache-control | no-preview |
| go-import | github.com/microsoft/STL git https://github.com/microsoft/STL.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 204593825 |
| octolytics-dimension-repository_nwo | microsoft/STL |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 204593825 |
| octolytics-dimension-repository_network_root_nwo | microsoft/STL |
| 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 | 39cd7745159797c426e62ba2199c584d653d4b32 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width