[Boost-bugs] [Boost C++ Libraries] #10082: implicit cpp_rational(double)

Subject: [Boost-bugs] [Boost C++ Libraries] #10082: implicit cpp_rational(double)
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-05-30 12:54:04

#10082: implicit cpp_rational(double)
 Reporter: marc.glisse@… | Owner: johnmaddock
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: multiprecision
  Version: Boost 1.55.0 | Severity: Problem
 Keywords: |

 while trying to plug cpp_rational in our software, I noticed that the
 conversion from double is explicit, which complicates things quite a bit
 for me. I can't think of a reason why it needs to be explicit. The
 documentation seems to say that non-lossy conversions from builtin types
 are implicit, and converting from double to cpp_rational should be exact.

Ticket URL: <https://svn.boost.org/trac/boost/ticket/10082>
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:16 UTC