W3C home > Mailing lists > Public > public-qt-comments@w3.org > August 2006

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

From: <bugzilla@wiggum.w3.org>
Date: Tue, 22 Aug 2006 18:09:38 +0000
CC:
To: public-qt-comments@w3.org
Message-Id: <E1GFah0-0003jL-9X@wiggum.w3.org>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:14:44 GMT