Subject: Re: [Boost-bugs] [Boost C++ Libraries] #9579: conversion error from boost cpp_rational to int
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-01-16 13:01:20
#9579: conversion error from boost cpp_rational to int
--------------------------------------------+------------------------------
Reporter: W Randolph Franklin <boost@â¦> | Owner: johnmaddock
Type: Bugs | Status: new
Milestone: To Be Determined | Component: multiprecision
Version: Boost 1.55.0 | Severity: Problem
Resolution: | Keywords: cpp_rational
| conversion
--------------------------------------------+------------------------------
Comment (by anonymous):
I'm testing a proper fix, but the workaround would be to use:
{{{cpp_int i = numerator(a) / denominator(a);}}}
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/9579#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:15 UTC