[Bug 28309] New: 3.5 Arithmetic Expressions div/idiv?

https://www.w3.org/Bugs/Public/show_bug.cgi?id=28309

            Bug ID: 28309
           Summary: 3.5 Arithmetic Expressions div/idiv?
           Product: XPath / XQuery / XSLT
           Version: Candidate Recommendation
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XPath 3.1
          Assignee: jonathan.robie@gmail.com
          Reporter: patrick@durusau.net
        QA Contact: public-qt-comments@w3.org

3.5 Arithmetic Expressions

"XPath 3.1 supports two division operators named div and idiv. Each of these
operators accepts two operands of any numeric type. As described in [XQuery and
XPath Functions and Operators 3.1], $arg1 idiv $arg2 is equivalent to ($arg1
div $arg2) cast as xs:integer? except for error cases."

Correct URL:
http://www.w3.org/TR/xpath-functions-31/#func-numeric-integer-divide  4.2.5
op:numeric-integer-divide 

BTW, [XQuery and XPath Functions and Operators 3.1] says: 4.2.4
op:numeric-divide, 4.2.5 op:numeric-integer-divide

Probably best not to use slang, "div," "idiv" when making references.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Monday, 23 March 2015 01:20:58 UTC