W3C home > Mailing lists > Public > public-qt-comments@w3.org > March 2015

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

From: <bugzilla@jessica.w3.org>
Date: Mon, 23 Mar 2015 01:20:57 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-28309-523@http.www.w3.org/Bugs/Public/>
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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:53 UTC