Boost.Multiprecision support #4480
zxffffffff
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The precision issues with
float
anddouble
have long been a challenging aspect of programming, particularly when JSON is used for network transmission, Java'sBigDecimal
often gets converted tonumber
, but there isn't a well-suited solution on the C++ side.I've typically used a workaround involving
json_dump() -> parse_string() -> cpp_dec_float_50
, which is rather inelegant. It would be ideal if a JSON library, known for its ease of use, could natively support this.Beta Was this translation helpful? Give feedback.
All reactions