[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: [OASIS Issue Tracker] Commented: (ODATA-256) Simplify numeric data types
[ http://tools.oasis-open.org/issues/browse/ODATA-256?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=32394#action_32394 ]
Evan Ireland commented on ODATA-256:
------------------------------------
In the SAP enterprise mobility space, we took a simple subset of XML schema types that has proven to be quite sufficient:
byte (signed)
short (Int16)
int (Int32)
long (int64)
integer ("lots" of digits, but no fraction)
decimal ("lots" of digits)
float
double
With this set of 8 types, we have had sucess in interopating across multiple client platforms (Java ME, Java SE, Windows CE, iOS) and I have not heard any reports of "missing" types causing any difficulty.
I recommend caution with any proposal to introduce quad precision binary floating point, or even decimal floating point for that matter. I do not believe that the support is there for such types across a sufficient number of the client types that may need to interoperate with OData services.
> 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 v1.0
> Affects Versions: WD01
> Reporter: Ralf Handl
> Fix For: 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 --> 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
--
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
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]