Re: [Boost-bugs] [Boost C++ Libraries] #12625: multiprecision acos() sometimes does not return

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #12625: multiprecision acos() sometimes does not return
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-11-27 09:30:43


#12625: multiprecision acos() sometimes does not return
-------------------------------+----------------------------
  Reporter: steve@… | Owner: johnmaddock
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: multiprecision
   Version: Boost 1.62.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+----------------------------

Comment (by Thibaut Paumard <thibaut@…>):

 Hi,

 Although I haven't yet been able to demonstrate that acos() can hang on
 amd64, I confirm that ilogb(zero) is also 0 for a multiprecision zero on
 this architecture, therefore comparing it to FP_ILPOGB0 does not make
 sense:


 {{{#!C++
 #include <iostream>
 #include <boost/multiprecision/cpp_dec_float.hpp>

 int main(int argc, char** argv) {

   boost::multiprecision::number<boost::multiprecision::cpp_dec_float<100>
>
     zero("0.");

   std::cout << ilogb(zero) << std::endl;
   std::cout << FP_ILOGB0 << std::endl;

   return 0;
 }

 }}}


 Kind regards, Thibaut.

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