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

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 UTC