[Bug libstdc++/47913] [C++0x] improve ratio_add to overflow less often

paolo.carlini at oracle dot com gcc-bugzilla@gcc.gnu.org
Sun Feb 27 14:13:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47913

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot       |paolo.carlini at oracle dot
                   |gnu.org                     |com

--- Comment #1 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-02-27 13:54:46 UTC ---
Looks like there is a pretty simple (eg, no continued fractions & co) way to do
this: http://www.boost.org/doc/libs/1_46_0/boost/rational.hpp



More information about the Gcc-bugs mailing list