Re: double_ parser is less precise than atof

Seth <[email protected]>
Newsgroups gmane.comp.parsers.spirit.general
Message-ID <1488373092.3927731.896741088.012893CF@webmail.messagingengine.com>
On Tue, Feb 28, 2017, at 04:14 PM, jfaust wrote:
> The following code demonstrates a small loss of precision using qi. I'm
> using
> VS 2013 and boost 1.60.0. The problem is shown near the end where an
> int64
> is converted to double.
> 
> The main problem for me is that I'm trying to replace an existing parser
> with qi. The small differences in precision are causing differences in
> our
> regression test suite.
> 
Did You forget to include the reproducing test code? I can't see it

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.