16 Sep
2020
16 Sep
'20
2:04 p.m.
Do you get the concern that I am seeing? I mean I have used JSON libraries before, and this has never been a practical problem. But Boost Review puts the bar high for the libraries, so I guess this question should be answered: what guarantees can a JSON library give us with respect to accuracy of numbers?
Regards, &rzej;
I would have liked to give users the freedom to choose the accuracy through templates. Something like: // i want speed boost::json::parser< int > p_int; // i want accuracy boost::json::parser< boost::multiprecision::cpp_int > p_infinity; Eduardo