[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: [OASIS Issue Tracker] (ODATA-997) Define modulo operator for non-integral numeric values
[ https://issues.oasis-open.org/browse/ODATA-997?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ralf Handl updated ODATA-997:
-----------------------------
Proposal:
Clarify that mod supports non-integral numeric operands, and that it is defined as
a mod b eq a sub b mul floor(a div b)
was:
Clarify that mod supports non-integral numeric operands, and that it is defined as
a mod b eq a sub b mul (a div b)
> Define modulo operator for non-integral numeric values
> ------------------------------------------------------
>
> Key: ODATA-997
> URL: https://issues.oasis-open.org/browse/ODATA-997
> Project: OASIS Open Data Protocol (OData) TC
> Issue Type: Bug
> Components: OData URL Conventions
> Affects Versions: V4.0_ERRATA03
> Reporter: Ralf Handl
> Fix For: V4.01_WD01, V4.0_ERRATA04
>
>
> The div operator is defined for numeric operands.
> The mod operator is only defined for integral operands, but the section on the mod operator contains rules for decimal operands.
> Clarify whether mod supports non-integral numeric operands, and how it is calculated, e.g. a mod b = a sub b mul floor(a div b)
--
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]