Next in thread → Next in month →

[OASIS Issue Tracker] Updated: (ODATA-256) Simplify numeric data types

From
OASIS Issues Tracker <>
Date
2013-03-01T14:26:05+00:00
ID
649163933.2341362147950295.JavaMail.tomcat55@mw00
Thread
[OASIS Issue Tracker] Updated: (ODATA-256) Simplify numeric data types
[ http://tools.oasis-open.org/issues/browse/ODATA-256?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ralf Handl updated ODATA-256:
-----------------------------

       Proposal: Define an abstract type Edm.Number as a specialization of Edm.PrimitiveType and a generalization of all numeric primitive types that can be used in term definitions and in complex types used within term definitions.  (was: Define a single Numeric data type with facets to specify its range and precision, e.g.
- MinValue
- MaxValue
- ItFloats
- ...

Have a close look at XML Schema 1.1 and IEEE 754 to detect the required facets.)
    Environment: [Proposed]
    Description: 
Computer history has provided us with a growing number of numeric data types, and quite a few of them are reflected in Edm primitive types.

Integer types:
- Byte (0..2^8)
- SByte
- Int16
- Int32
- Int64
- Decimal Scale=0

Fixed-point types
- Decimal with VariableScale="false", see ODATA-76

Floating-point types
- Decimal with VariableScale="true", see ODATA-76
- Single
- Double

Especially for defining vocabularies it would be helpful to have an abstract type Edm.Number that can be applied to any of the numeric primitive types.



  was:
Computer history has provided us with a growing number of numeric data types, and quite a few of them are reflected in Edm primitive types.

Integer types:
- Byte (0..2^8)
- SByte
- Int16
- Int32
- Int64
- Decimal Scale=0

Fixed-point types
- Decimal --> not sure yet if this is fixed or floating point, see ODATA-76

Floating-point types
- Decimal --> not sure yet if this is fixed or floating point, see ODATA-76
- Single
- Double

Missing numeric types
- Quadruple == binary128
- DECFLOAT in various lengths


> Simplify numeric data types
> ---------------------------
>
>                 Key: ODATA-256
>                 URL: http://tools.oasis-open.org/issues/browse/ODATA-256
>             Project: OASIS Open Data Protocol (OData) TC
>          Issue Type: Improvement
>          Components: OData CSDL
>    Affects Versions: V4.0_WD01
>         Environment: [Proposed]
>            Reporter: Ralf Handl
>             Fix For: V4.0_WD01
>
>
> Computer history has provided us with a growing number of numeric data types, and quite a few of them are reflected in Edm primitive types.
> Integer types:
> - Byte (0..2^8)
> - SByte
> - Int16
> - Int32
> - Int64
> - Decimal Scale=0
> Fixed-point types
> - Decimal with VariableScale="false", see ODATA-76
> Floating-point types
> - Decimal with VariableScale="true", see ODATA-76
> - Single
> - Double
> Especially for defining vocabularies it would be helpful to have an abstract type Edm.Number that can be applied to any of the numeric primitive types.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://tools.oasis-open.org/issues/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
Next in thread → Next in month →