Subject: Re: [Boost-bugs] [Boost C++ Libraries] #11397: Can't compile RawConverter from mpq_rational to double
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-06-12 16:13:18
#11397: Can't compile RawConverter from mpq_rational to double
-------------------------------+---------------------------
Reporter: andyplekhanov@⦠| Owner: barendgehrels
Type: Bugs | Status: new
Milestone: To Be Determined | Component: geometry
Version: Boost 1.58.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+---------------------------
Changes (by johnmaddock):
* owner: johnmaddock => barendgehrels
* component: multiprecision => geometry
Comment:
This looks like a Geometry traits class question not a multiprecision one?
BTW I'm not sure if this is relevant, but mpq_rational is static_cast'able
to double in C++11 land. It rounds correctly as well which mpq_get_d
appears not to.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/11397#comment:1> 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:18 UTC