Uploaded image for project: 'OASIS Open Data Protocol (OData) TC'
  1. OASIS Open Data Protocol (OData) TC
  2. ODATA-554

Clarify representation of floating-point numbers

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: V4.0_CSD03
    • Fix Version/s: CN01
    • Component/s: Implementing OData
    • Labels:
      None
    • Environment:

      [Proposed]

    • Proposal:
      Hide

      Create a Committee Note "Implementing OData 4.0" with hints/guidelines for implementers of OData. Using a non-normative committee note allows shorter response cycles than a normative specification document.

      Show
      Create a Committee Note "Implementing OData 4.0" with hints/guidelines for implementers of OData. Using a non-normative committee note allows shorter response cycles than a normative specification document.

      Description

      We specify Edm.Double and Edm.Single to be IEEE754 binary floating-point numbers with 64 and 32 bits.

      Unfortunately the IEEE754 specifications are not freely available, and their publicly available excerpts in e.g. Wikipedia and XML Schema 1.1 Part 2 seem to diverge in the fine points of

      • normalized and denormalized values
      • smallest and largest positive and negative values

      Also we don't give guidance like "always produce normalized values, always accept all values and round appropriately".

        Attachments

          Activity

            People

            • Assignee:
              handl Ralf Handl
              Reporter:
              handl Ralf Handl
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: