OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

odata message

[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=32395#action_32395 ] 

Evan Ireland commented on ODATA-256:

I should have added that I do not recommend the introduction of a basic Numeric type. It should be permissable to use facets on other types (Int32, Double etc) to specify valid ranges. Forcing the modeler to at least choose an initial type that is "close" to the range and precision of the target value is preferable to allowing the modeler to be "vague", which has folow-on effects for clients (e.g. Java clients being forced to use BigDecimal for all numeric values if the modeler is not careful enough).

> 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]