Re: [Boost-bugs] [Boost C++ Libraries] #10993: frexp with multiprecision cpp_dec_float_50 returns random values with VS 2013

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #10993: frexp with multiprecision cpp_dec_float_50 returns random values with VS 2013
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-02-08 16:35:03


#10993: frexp with multiprecision cpp_dec_float_50 returns random values with VS
2013
-------------------------------+-----------------------------------
  Reporter: pbristow | Owner: christopher_kormanyos
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: multiprecision
   Version: Boost 1.57.0 | Severity: Problem
Resolution: | Keywords: cpp_dec_float_50
-------------------------------+-----------------------------------

Comment (by pbristow):

 I confirm that providing something to take the result of frexp works as
 predicted.

 T mantisssa = frexp(static_cast<guess_type>(x), &exponent);

 This provides an easy workaround for the current release 1.56.

 (But it is curious the GCC works OK without this when MSVC fails?).

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/10993#comment:5>
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 : 2017-02-16 18:50:17 UTC