[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: [OASIS Issue Tracker] (ODATA-919) Specify the result type for each operation based on operator types
[ https://issues.oasis-open.org/browse/ODATA-919?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Martin Zurmuehl updated ODATA-919: ---------------------------------- Proposal: pecify the result type for each operation based on operator types (refine and put in matrix) a) int* add/mult/sub int* => int64 (may be +/-inf) b) Int* add/mult/sub decimal/single/double => promotion rules will promote, then type c) int* div int* => loperand (or larger) -> service can always promote to int64 d) Int* div decimal/single/double => roperand e) decimal/single/double div number => operation promotes smaller operand; result is that type e) number divideby number =>decimal f) Int* mod Int* the type of the loperand (or larger) g) Int* mod decimal/single/double => roperand (service can promote to decimal) h) Decimal/single/double mod number => loperand (service can promote to decimal) f) Single add/mult/sub single -> single g) Double add/mult/sub Double -> double (note, if either operand is single, gets promoted to double) a) Don't promote outside of type families b) Do not promote Single->Double was: Specify the result type for each operation based on operator types a) Don't promote outside of type families b) Do not promote Single->Double > Specify the result type for each operation based on operator types > ------------------------------------------------------------------ > > Key: ODATA-919 > URL: https://issues.oasis-open.org/browse/ODATA-919 > Project: OASIS Open Data Protocol (OData) TC > Issue Type: Improvement > Components: OData URL Conventions > Affects Versions: V4.0_OS > Environment: Proposed > Reporter: Martin Zurmuehl > Fix For: V4.01_WD01 > > > See OData-785 for a description of the issue --> Comments Section. -- This message was sent by Atlassian JIRA (v6.2.2#6258)
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]