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

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





------- Comment #1 from mike@saxonica.com  2006-08-22 18:09 -------
"or otherwise" is far too loose: it means that anything goes.

Suggestion: 

"Otherwise, returns the average of the values computed as sum($arg) div
count($arg); but if this expression causes an arithmetic overflow, the
implementation may use an otherwise equivalent algorithm that avoids the
overflow.

Received on Tuesday, 22 August 2006 18:10:01 UTC