Allow IEEE 754 constants [-]INF and NaN also for Edm.Decimal

    • Hide

      Modify the related ABNF construction rules to allow nanInfinity also for decimalValue:

      decimalValue = [SIGN] 1*DIGIT ["." 1*DIGIT] / nanInfinity

      doubleValue = decimalValue [ "e" [SIGN] 1*DIGIT ] ; IEEE 754 binary64 floating-point number (15-17 decimal digits)
      singleValue = doubleValue ; IEEE 754 binary32 floating-point number (6-9 decimal digits)
      nanInfinity = 'NaN' / '-INF' / 'INF'

      Show
      Modify the related ABNF construction rules to allow nanInfinity also for decimalValue: decimalValue = [SIGN] 1*DIGIT ["." 1*DIGIT] / nanInfinity doubleValue = decimalValue [ "e" [SIGN] 1*DIGIT ] ; IEEE 754 binary64 floating-point number (15-17 decimal digits) singleValue = doubleValue ; IEEE 754 binary32 floating-point number (6-9 decimal digits) nanInfinity = 'NaN' / '-INF' / 'INF'

      Just as for IEEE 754 floating-point numbers, calculations of Edm.Decimal values also can lead to results that can only be represented by constants for "Not a Number" or "(negative) Infinity".

            Assignee:
            Unassigned
            Reporter:
            gerald.krause1
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: