Clarify representation of floating-point numbers

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

      [Proposed]

    • 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.

      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".

            Assignee:
            handl
            Reporter:
            handl
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: