Title: Float deserialization fails · Issue #2 · ascheglov/json-cpp · GitHub
Open Graph Title: Float deserialization fails · Issue #2 · ascheglov/json-cpp
X Title: Float deserialization fails · Issue #2 · ascheglov/json-cpp
Description: Float deserialization fails as when deserializing the float appears to be cast to a double which causes it to get a different value and the library assume that that means the number is out of range, which is not necessarily the case. Thi...
Open Graph Description: Float deserialization fails as when deserializing the float appears to be cast to a double which causes it to get a different value and the library assume that that means the number is out of range...
X Description: Float deserialization fails as when deserializing the float appears to be cast to a double which causes it to get a different value and the library assume that that means the number is out of range...
Opengraph URL: https://github.com/ascheglov/json-cpp/issues/2
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Float deserialization fails","articleBody":"Float deserialization fails as when deserializing the float appears to be cast to a double which causes it to get a different value and the library assume that that means the number is out of range, which is not necessarily the case. This can be found at \nhttps://github.com/ascheglov/json-cpp/blob/master/include/json-cpp/parse.hpp#L187\n","author":{"url":"https://github.com/benpye","@type":"Person","name":"benpye"},"datePublished":"2014-04-08T11:19:39.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/2/json-cpp/issues/2"}
| 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:d7751aed-cad5-b840-b8cc-9a09e8bee112 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8C78:314561:2256B96:2E1459C:6A4AA67D |
| html-safe-nonce | d464cbf301f98ba31892eae81582fe9814345baf27de5f3a98b3ca3a264ff7b8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4Qzc4OjMxNDU2MToyMjU2Qjk2OjJFMTQ1OUM6NkE0QUE2N0QiLCJ2aXNpdG9yX2lkIjoiMzM2ODc4MDA0MTYwNDk5ODc4MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 24d5c8e5014728c79e4f96fd7ad864d4d6f2727c80ab121f9da02af6c50d4734 |
| hovercard-subject-tag | issue:31062075 |
| 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/ascheglov/json-cpp/2/issue_layout |
| twitter:image | https://opengraph.githubassets.com/87b8838deda667a7a141bf2bb506009abe54e63f6e453ac1248954d70fbd3eb0/ascheglov/json-cpp/issues/2 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/87b8838deda667a7a141bf2bb506009abe54e63f6e453ac1248954d70fbd3eb0/ascheglov/json-cpp/issues/2 |
| og:image:alt | Float deserialization fails as when deserializing the float appears to be cast to a double which causes it to get a different value and the library assume that that means the number is out of range... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | benpye |
| hostname | github.com |
| expected-hostname | github.com |
| None | 32bb824b1b6eca924e1bff9b514b06db6b0f109aee81754b85528e4b9fbd34a4 |
| turbo-cache-control | no-preview |
| go-import | github.com/ascheglov/json-cpp git https://github.com/ascheglov/json-cpp.git |
| octolytics-dimension-user_id | 3955351 |
| octolytics-dimension-user_login | ascheglov |
| octolytics-dimension-repository_id | 13079323 |
| octolytics-dimension-repository_nwo | ascheglov/json-cpp |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 13079323 |
| octolytics-dimension-repository_network_root_nwo | ascheglov/json-cpp |
| 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 | d13470d0bd03ea530bcdbb4359887275338bdd51 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width