[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: [OASIS Issue Tracker] Updated: (ODATA-111) Define supported numeric promotions
[ http://tools.oasis-open.org/issues/browse/ODATA-111?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Pizzo updated ODATA-111: -------------------------------- Summary: Define supported numeric promotions (was: Define supported DataType conversions) Proposal: Define the following numeric promotions: § If either operand is Edm.Double, the other operand is converted to type Edm.Double. § Otherwise, if either operand is Edm.Single, the other operand is converted to type Edm.Single. § Otherwise, if either operand is of type Edm.Decimal, the other operand is converted to Edm.Decimal. § Otherwise, if either operand is Edm.Int64, the other operand is converted to type Edm.Int64. § Otherwise, if either operand is Edm.Int32, the other operand is converted to type Edm.Int32 § Otherwise, if either operand is Edm.Int16, the other operand is converted to type Edm.Int16. § If binary numeric promotion is supported, a service SHOULD use the same semantics as a castExpression to promote an operand to the target type. Environment: [Proposed] Description: OData should define the numeric promotions that a service is expected to support; i.e., decimal/double promotions, etc. (was: OData should define the datatype conversions/promotions that a service is expected to support; i.e., decimal/double promotions, etc.) > Define supported numeric promotions > ----------------------------------- > > Key: ODATA-111 > URL: http://tools.oasis-open.org/issues/browse/ODATA-111 > Project: OASIS Open Data Protocol (OData) TC > Issue Type: Bug > Components: OData Protocol v1.0 > Environment: [Proposed] > Reporter: Michael Pizzo > Assignee: Michael Pizzo > Priority: Minor > > OData should define the numeric promotions that a service is expected to support; i.e., decimal/double promotions, etc. -- 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]