Bug 20123 - [QT3TS] op-numeric-dividesht2args-5, too many digits
Summary: [QT3TS] op-numeric-dividesht2args-5, too many digits
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XQuery 3 & XPath 3 Test Suite (show other bugs)
Version: Last Call drafts
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: O'Neil Delpratt
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
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>