[Bug 6998] Test orderBy35 / values larger than 1.0E6

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


Michael Kay <mike@saxonica.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mike@saxonica.com




--- Comment #1 from Michael Kay <mike@saxonica.com>  2009-06-05 19:41:18 ---
Actually, there's nothing special about float values above 1E6. The problem
applies to all floating-point values. For example, the query float('1.0') can
legitimately produce the output 1.0000000000000000001.

We've generally been pragmatic about this in the test suite. Sometimes we've
added alternative allowed results, sometimes we've changed the test to do
something loke round-half-to-even() to reduce the number of digits, and the
fallback is to say simply that you can claim a pass if your result are correct
even if they differ from the published results.

Early on I argued we should have a "wrapped" format for results that would
allow values to be labelled with their type allowing a better canonical
comparison, but that's a lot of complexity to introduce, so we'll just have to
continue handling things on a case-by-case basis.


-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Friday, 5 June 2009 19:41:25 UTC