Boost logo

Boost :

From: Eduardo Quintana (eduardo.quintana_at_[hidden])
Date: 2020-09-16 14:04:18


> 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


.





Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk