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: Fri, 25 Aug 2006 18:17:37 +0000
CC:
To: public-qt-comments@w3.org
Message-Id: <E1GGgFN-0004Yc-Px@wiggum.w3.org>

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


mike@saxonica.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




------- Comment #4 from mike@saxonica.com  2006-08-25 18:17 -------
The WGs discussed the proposals. There was agreement with the general sentiment
of the comment that the implementation was allowed to avoid the overflow here,
but a fair bit of discussion about how to achieve it. The meeting converged on
the following wording:

Otherwise, returns the average of the values as sum($arg) div count($arg); but
the implementation may use an otherwise equivalent algorithm that avoids
arithmetic overflow.
Received on Friday, 25 August 2006 18:18:09 GMT

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