[Bug 3666] Wrong number of decimal places in numeric divide tests

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





------- Comment #4 from mike@saxonica.com  2006-09-07 21:50 -------
Well, there's clearly an influential WG member who wants 12 digits...

In fact (regrettably) the spec has always been this way. A conformant
implementation can return 3.3 as the result of 10 div 3. It can also return 3.3
as the result of 1.1111111111111111111 + 2.22222222222222222. The 18-digit
limit has always been a rule about the value space, not about the results of
operations. Caveat emptor.

Received on Thursday, 7 September 2006 21:50:14 UTC