This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc 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]

How to interpret __NEGATIVE_SIGN == "-" && __INT_N_SIGN_POSN == 0?!?


Hi,

I'm investigating areas where libstdc++-v3 implementation of
the monetary facets is not consistent with others.

One boils down to the following issue: what does it mean,

__NEGATIVE_SIGN == "-" && __INT_N_SIGN_POSN == 0

???

This happens, for instance, in the "en_HK" locale.

According to the glibc docs __INT_N_SIGN_POSN == 0 implies:

 "The currency symbol and quantity should be surrounded by
 parentheses."

but, then, what should we do with the "-" returned for
__NEGATIVE_SIGN??

Shall we expect a "-" or, instead, parentheses sorrounding
currency symbol and quantity?

Thanks!
Paolo.


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