← Prev in month ← Prev in thread

[OASIS Issue Tracker] (ODATA-997) Define modulo operator for non-integral numeric values

From
OASIS Issues Tracker <>
Date
2016-11-09T12:02:16+00:00
ID
Thread
[OASIS Issue Tracker] (ODATA-997) Define modulo operator for non-integral numeric values
Ralf Handl created ODATA-997:
--------------------------------

             Summary: 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 (a div b)



--
This message was sent by Atlassian JIRA
(v6.2.2#6258)
← Prev in month ← Prev in thread