Bug 20123 - [QT3TS] op-numeric-dividesht2args-5, too many digits
[QT3TS] op-numeric-dividesht2args-5, too many digits
Status: CLOSED FIXED
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XQuery 3 & XPath 3 Test Suite
Last Call drafts
PC Windows XP
: P2 normal
: ---
Assigned To: O'Neil Delpratt
Mailing list for public feedback on specs from XSL and XML Query WGs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-11-28 16:45 UTC by Andrew Eisenberg
Modified: 2012-12-10 19:08 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Eisenberg 2012-11-28 16:45:06 UTC
Test case op-numeric-dividesht2args-5 has the assertion:

<assert>abs($result + 1.000030518509475997192297128208258) lt 1e-12</assert>

Implementations are not required to support a 24-digit decimal value. I'd suggest either reducing the number of digits to 18 or accepting error FOCA0006.
Comment 1 O'Neil Delpratt 2012-12-05 18:06:18 UTC
I agree. Test case result has been changed as follows:

<assert>abs($result + 1.000030518509475997) lt 1e-12</assert>