[Bug 5892] New: [F+O] Requirement: trigonometric functions

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

           Summary: [F+O] Requirement: trigonometric functions
           Product: XPath / XQuery / XSLT
           Version: Recommendation
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Functions and Operators 1.1
        AssignedTo: mike@saxonica.com
        ReportedBy: mike@saxonica.com
         QAContact: public-qt-comments@w3.org


I've been doing some work recently with geographic/spatial data sets and SVG.
XSLT and XQuery are ideal for manipulating this kind of data but have one
serious shortcoming - the lack of some basic functions needed for geometrical
calculations.

I would therefore like to propose the addition of four functions: sqrt(),
sin(), cos() and tan(), all defined with the signature X(xs:double?) ->
xs:double?.

I don't think that providing these will be a major burden on implementors since
they are so widely implemented in standard libraries and the specification is
unproblematic.

I know this isn't on the requirements list but I think there's a real user need
and the benefit is worth the effort.


-- 
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 Tuesday, 22 July 2008 22:43:56 UTC