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-07 08:50:17


#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 anonymous):

>But the sample code shows frexp obtaining faulty results for the integer
 exponent argument. This is not a multiprecision type. I don't understand
 what the exponent obtained in frexp has to do with et_on or et_off. I'm
 confused here.

 The function is never evaluated in the et_on case unless the returned
 value is assigned to something - so the integer argument remains
 uninitialized. It's a bug in the expression template code really, will
 fix shortly. John.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/10993#comment:4>
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