Bug 19758 - [QT3] alternative results for cbcl-numeric-divide-015 and cbcl-numeric-subtract-001
Summary: [QT3] alternative results for cbcl-numeric-divide-015 and cbcl-numeric-subtra...
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: Tim Mills
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
Depends on:
Reported: 2012-10-29 15:36 UTC by Andrew Eisenberg
Modified: 2012-10-31 09:00 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Eisenberg 2012-10-29 15:36:30 UTC
As noted in Bug #19678, some implementations support more than 16 total digits for xs:decimal. 

Test case cbcl-numeric-divide-015:

10000000000000000000000000000.0 div 0.1

should accept a result of 100000000000000000000000000000.0.

Test case cbcl-numeric-subtract-001:

-79228162514264337593543950335.0 - 1.0

should accept a result of -79228162514264337593543950336.0.

Both now require FOAR0002.
Comment 1 Tim Mills 2012-10-30 09:56:38 UTC
Resolved by modifying the tests.  I've avoided putting large values into assertions which could trigger FOAR0002 in processing of test assertions by the test driver, rather than in the execution of the tests themselves.

Please mark as CLOSED if you agree with the resolution.  Otherwise, REOPEN.