This is the mail archive of the
mailing list for the glibc project.
How to interpret __NEGATIVE_SIGN == "-" && __INT_N_SIGN_POSN == 0?!?
- From: Paolo Carlini <pcarlini at suse dot de>
- To: libc-alpha at sources dot redhat dot com
- Cc: libstdc++ <libstdc++ at gcc dot gnu dot org>, Andreas Jaeger <aj at suse dot de>
- Date: Mon, 16 Feb 2004 12:58:04 +0100
- Subject: How to interpret __NEGATIVE_SIGN == "-" && __INT_N_SIGN_POSN == 0?!?
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
but, then, what should we do with the "-" returned for
Shall we expect a "-" or, instead, parentheses sorrounding
currency symbol and quantity?