W3C home > Mailing lists > Public > public-qt-comments@w3.org > December 2010

[Bug 11544] New: Typo in the last three math:sqrt examples

From: <bugzilla@jessica.w3.org>
Date: Mon, 13 Dec 2010 12:36:54 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-11544-523@http.www.w3.org/Bugs/Public/>

           Summary: Typo in the last three math:sqrt examples
           Product: XPath / XQuery / XSLT
           Version: Working drafts
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Functions and Operators 3.0
        AssignedTo: mike@saxonica.com
        ReportedBy: oneil@saxonica.com
         QAContact: public-qt-comments@w3.org

In Section 4.7.7 math:sqrt of the XPath30 and XQuery functions and operators

See the Example sub-section for math:sqrt, the last three are showing examples
for the math:log10 function instead of math:sqrt.

Example for math:sqrt:

    The expression math:sqrt(()) returns ().

    The expression math:sqrt(0.0e0) returns 0.0e0.

    The expression math:sqrt(-0.0e0) returns -0.0e0.

    The expression math:sqrt(1.0e6) returns 1.0e3.

    The expression math:sqrt(2.0e0) returns 1.4142135623730951e0.

    The expression math:sqrt(-2.0e0) returns xs:double('NaN').

    The expression math:log10(xs:double('NaN')) returns xs:double('NaN').

    The expression math:log10(xs:double('INF')) returns xs:double('INF').

    The expression math:log10(xs:double('-INF')) returns xs:double('NaN').

Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Monday, 13 December 2010 12:36:56 UTC

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