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

[Bug 3759] [F+O] round-half-to-even and float precision

From: <bugzilla@wiggum.w3.org>
Date: Wed, 27 Sep 2006 22:29:49 +0000
CC:
To: public-qt-comments@w3.org
Message-Id: <E1GShuX-0008Nf-5y@wiggum.w3.org>

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





------- Comment #1 from ashok.malhotra@oracle.com  2006-09-27 22:29 -------
I'm not sure what to do abt this.  I understand both Mike and Joanne's
arguments.
The summary of the function currently says "The value returned is the nearest
(that is, numerically closest) value to $arg that is a multiple of ten to the
power of minus $precision. If two such values are equally near (e.g. if the
fractional part in $arg is exactly .500...), returns the one whose least
significant digit is even."

Would it help to add something like "floating point numbers are compared using
a decimal representation"?  But then we need to say something abt the number of
decimal places.
Received on Wednesday, 27 September 2006 22:29:53 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:14:17 GMT