This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ 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]

Re: [v3] c++0x std::ratio implementation


> Updated patch. Formatting, use _GLIBCXX_USE_C99_STDINT_TR1,
> renamed template params.

Thanks. I'm finishing regtesting the patch + some minor local tweaks. While I do that, can you please double check that ratio_subtract is OK when _R2::num == INTMAX_MIN? I see an unconditional unary minus which in principle could overflow...

Thanks,
Paolo.


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