[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lmi] numeric_io_traits problem under Valgrind
From: |
Greg Chicares |
Subject: |
Re: [lmi] numeric_io_traits problem under Valgrind |
Date: |
Tue, 27 Feb 2018 02:44:15 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 |
On 2018-02-27 02:07, Vadim Zeitlin wrote:
[...]
> http://www.network-theory.co.uk/docs/valgrind/valgrind_27.html
>
> > As of version 3.0.0, Valgrind has the following limitations in
> > its implementation of x86/AMD64 floating point relative to
> > IEEE754. Precision: There is no support for 80 bit arithmetic.
[...snip their bloviation...]
>
> So this looks like a direct consequence of limitations in the current
> Valgrind FP support implementation, because log10l() of the number above is
> very close to 1e-16 and the loss/extra precision makes it go just
> above/below it.
If there's some valgrind-is-being-used macro, we'll just use it
to conditionalize the test.
> Of course, personally I think that lmi should have switched to using SSE
First, use currency class and distribute 64- rather than 32-bit
builds. Then maybe consider SSE later on.