This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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

--- Comment #19 from Marc Glisse <marc.glisse at normalesup dot org> 2011-03-03 06:41:45 UTC ---
(In reply to comment #18)
> I'm not sure to understand, I was under the impression that right now GCC is
> essentially equal to boost::rational?!?

That's the heuristic I was mentioning at the end of comment #9. I could add it
if you like. I am reluctant because, as I said, it is just a heuristic that
doesn't close a class of problems but only a few random cases.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]