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: [RFC] moneypunct::frac_digits < 0 ?!?


Paolo Carlini wrote:

So, what shall we do? Consistency with other sections of the
standard (i.e., num_put::do_put for negative precision) and Note
244 seem to suggest that we should use by "default" the value 2...

... another possibility (22.2.6.3, p3) is that a negative frac_digits() should lead to the very same behavior of frac_digits() == 0.

Probably, I like this interpretation better.

Paolo.


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