Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-95460

Support localized infinity and NaN representations

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • Icon: P4: Low P4: Low
    • None
    • 6.2
    • Core: Locales (i18n)
    • None
    • All

      The CLDR provides localized versions (alongside those for decimal and grouping separators, %, +, − and the delimiter for the exponential part of a mantissa-exponent number format) of infinity and NaN.
      In en.xml, the infinity is the ∞ symbol; en_US_POSIX.xml over-rides that as INF.
      We could use these data from CLDR to provide locale-appropriate representations of non-finite values in QLocale, while retaining the C locale's "inf" and "nan" in QString and QByteArray.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Eddy Edward Welbourne
            Eddy Edward Welbourne
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes