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

http://www.w3.org/Bugs/Public/show_bug.cgi?id=11544

           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
spec:

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