This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of CD1 status.
Section: 26.4.6 [complex.ops] Status: CD1 Submitter: Gabriel Dos Reis Opened: 2007-01-28 Last modified: 2016-02-10
Priority: Not Prioritized
View all other issues in [complex.ops].
View all issues with CD1 status.
is there an issue opened for (0,3) as complex number with the French local? With the English local, the above parses as an imaginery complex number. With the French locale it parses as a real complex number.
Further notes/ideas from the lib-reflector, messages 17982-17984:
Add additional entries in num_punct to cover the complex separator (French would be ';').
Insert a space before the comma, which should eliminate the ambiguity.
Solve the problem for ordered sequences in general, perhaps with a dedicated facet. Then complex should use that solution.
[ Bellevue: ]
After much discussion, we agreed on the following: Add a footnote:
[In a locale in which comma is being used as a decimal point character, inserting "showbase" into the output stream forces all outputs to show an explicit decimal point character; then all inserted complex sequences will extract unambiguously.]
And move this to READY status.
[ Pre-Sophia Antipolis, Howard adds: ]
Changed "showbase" to "showpoint" and changed from Ready to Review.
[ Post-Sophia Antipolis: ]
I neglected to pull this issue from the formal motions page after the "showbase" to "showpoint" change. In Sophia Antipolis this change was reviewed by the LWG and the issue was set to Ready. We subsequently voted the footnote into the WP with "showbase".
I'm changing from WP back to Ready to pick up the "showbase" to "showpoint" change.
Add a footnote to 26.4.6 [complex.ops] p16:
[In a locale in which comma is being used as a decimal point character, inserting showpoint into the output stream forces all outputs to show an explicit decimal point character; then all inserted complex sequences will extract unambiguously.]