Subject: Re: [Boost-bugs] [Boost C++ Libraries] #13251: Sine / cosine is not thread safe
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2018-01-05 11:27:39
#13251: Sine / cosine is not thread safe
-------------------------------+----------------------------
Reporter: lessig@⦠| Owner: John Maddock
Type: Bugs | Status: new
Milestone: To Be Determined | Component: multiprecision
Version: Boost 1.63.0 | Severity: Showstopper
Resolution: | Keywords:
-------------------------------+----------------------------
Comment (by martin@â¦):
Hi,
I can reproduce the error - protecting sin/cos asin/acos with mutexes for
testing makes the functions 'work' again.
This problem seems to be compiler-specific, does not happen with
clang-5.0.0 (linux), but gcc 6.3.0, 6.4.0, 7.2.0 (linux) and MSVC 14.0
(2015) are affected, using boost 1.65.1. The problem does not occur in
boost 1.64.0 in my setup. (boost release builds)
I have not done much testing, but the functions only fail seldomly, and if
they do they seem to be correct in the first digits.
(using cpp_dec_float with 50 bits precision)
Thanks for looking into this
-- Ticket URL: <https://svn.boost.org/trac10/boost/ticket/13251#comment:2> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2018-01-05 11:34:13 UTC