How to interpret __NEGATIVE_SIGN == "-" && __INT_N_SIGN_POSN == 0 ?!?
Paolo Carlini
pcarlini@suse.de
Mon Feb 16 12:01:00 GMT 2004
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.
More information about the Libc-alpha
mailing list