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] (ODATA-918) CLONE - Numeric promotion (on overflow) across "number type families" is undesirable.


     [ https://issues.oasis-open.org/browse/ODATA-918?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Zurmuehl updated ODATA-918:
----------------------------------

    Proposal: 
Add operator "divideby" that always results in a decimal (as if both operands were promoted to decimal).
2) 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 
3) Specify overflow of int (would need to add +inf/-inf/nan to int) 
    a) Push for, in JSON Schema 5, that the strings "-inf", "+inf", "nan" are valid for numbers 


  was:
1) Add divideby that always results in a decimal (as if both operands were promoted to decimal) 
2) 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 
3) Specify overflow of int (would need to add +inf/-inf/nan to int) 
    a) Push for, in JSON Schema 5, that the strings "-inf", "+inf", "nan" are valid for numbers 



> CLONE - Numeric promotion (on overflow) across "number type families" is undesirable.
> -------------------------------------------------------------------------------------
>
>                 Key: ODATA-918
>                 URL: https://issues.oasis-open.org/browse/ODATA-918
>             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]