This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

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

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>