[Bug 3615] [F&O] Precision in fn:avg()

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





------- Comment #2 from ashok.malhotra@oracle.com  2006-08-22 19:23 -------
I would like to propose a minor change to Mike's suggested text:

"Otherwise, returns the average of the values computed as sum($arg) div
count($arg); or an otherwise equivalent algorithm."

This allows not only algorithms that avoid the overflow but also algorithms
that may be preferable for performance or other reasons.

Received on Tuesday, 22 August 2006 19:23:41 UTC