Update of /cvsroot/monetdb/pathfinder
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv14873
Modified Files:
EXTENSIONS
Log Message:
The XQuery functions and operators lack several mathematical functions. I added
natural logarithm (log) and square root (sqrt) as part of the "pf" namespace.
Index: EXTENSIONS
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/EXTENSIONS,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- EXTENSIONS 20 Feb 2007 12:06:49 -0000 1.8
+++ EXTENSIONS 24 May 2007 09:59:07 -0000 1.9
@@ -212,3 +212,22 @@
Element node identifiers (and standard ID/IDREF support) are currently
only available in Pathfinder's "milprint_summer" back-end.
+
+8. Missing math functions
+-------------------------
+
+The XQuery standard only defines a limited number of mathematical functions
+in its functions and operators. The functions below have been added in the
+"pf" namespace. They are currently only available in Pathfinder's
+"milprint_summer" backend.
+
+Natural logarithm
+ pf:log(xs:decimal) as xs:decimal
+ pf:log(xs:decimal?) as xs:decimal?
+ pf:log(xs:double) as xs:double
+ pf:log(xs:double?) as xs:double?
+Square root
+ pf:sqrt(xs:decimal) as xs:decimal
+ pf:sqrt(xs:decimal?) as xs:decimal?
+ pf:sqrt(xs:double) as xs:double
+ pf:sqrt(xs:double?) as xs:double?
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins