|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 2565 Details
Show help | Quick Search | Submit a Test Suite Support Request | Click here to view your privileges
This page provides all information on Problem Report 2565.
Report 2565 Actions
Problem Report Number 2565 Submitter's Classification Test Suite problem State Resolved Resolution Rejected (REJ) Problem Resolution ID REJ.X.0687 Raised 2011-03-10 06:11 Updated 2011-06-01 10:50 Published 2011-06-01 10:50 Product Standard Internationalised System Calls and Libraries Extended V3 (UNIX 03) Certification Program The Open Brand certification program Test Suite VSX4 version 4.7.3 Test Identification /tset/ANSI.os/streamio/printf/T.*printf.83,84 <16 tests total>
/tset/MSE.os/streamio/wprintf/T.[fw|sw|vfw|vsw|vw|w]printf.83,84 <12
tests total>Specification Base Definitions Issue 6 Problem Summary Various /tset/*.os/streamio/*printf tests 83 and 84 fail due to the
assumption that the value which the NAN macro returns will not have the
sign bit set.Problem Text A NaN may have the sign bit set or reset; the standard does not express
a preference between the two.
Tests 83 and 84 of the /tset/ANSI.os/streamio/printf/ T.fprintf,
T.printf, T.snprintf, T.sprintf; /tset/ANSI.os/streamio/vprintf/
T.vfprintf, T.vprintf, T.vsnprintf, T.vsprintf; and
/tset/MSE.os/streamio/wprintf T.fwprintf, T.swprintf, T.vfwprintf,
T.vswprintf, T.vwprintf, and T.wprintf will all fail on systems where
NAN returns a NaN with the sign bit set, as the tests assumes the sign
bit will be reset.Test Output Under 'Test Information', all 28 tests report:
fwprintf(f_wr, "%6a %6e %6f %6g\n", NAN, NAN, NAN, NAN) failed
(a, e, f, g) format converts float or double to [-]nan format
Observed output: " -nan -nan -nan -nan\n"
Expected output: " nan nan nan nan\n"
fwprintf(f_wr, "%6a %6e %6f %6g\n", -NAN, -NAN, -NAN, -NAN) failed
(a, e, f, g) format converts float or double to [-]nan format
Observed output: " nan nan nan nan\n"
Expected output: " -nan -nan -nan -nan\n"
fwprintf(f_wr, "%06a %06e %06f %06g\n", NAN, NAN, NAN, NAN) failed
(a, e, f, g) format converts float or double to [-]nan format
Observed output: " -nan -nan -nan -nan\n"
Expected output: " nan nan nan nan\n"
fwprintf(f_wr, "%06a %06e %06f %06g\n", -NAN, -NAN, -NAN, -NAN) failed
(a, e, f, g) format converts float or double to [-]nan format
Observed output: " nan nan nan nan\n"
Expected output: " -nan -nan -nan -nan\n"Review Information
Review Type TSMA Review Start Date 2011-03-10 06:11 Last Updated 2011-03-10 12:10 Completed 2011-03-10 12:10 Status Complete Review Recommendation Rejected (REJ) Review Response These tests are supposed to check whether the sign bit of the NAN
value they use is set, and adjust the expected strings accordingly.
This is done for the original test parts but not for the added
field width test parts, and this matches the test output which
only shows failures with field widths.
Although this PR has identified a test suite fault, it contains test
results from both VSX4 and VSX5, and it is not possible to grant a
TSD that covers two different test suites. Therefore the request
should be rejected. The submitter may wish to submit two new
requests, one for each test suite. In any case the faults will
be fixed in the next VSX4 and VSX5 maintenance releases.
Review Type SA Review Start Date 2011-03-10 20:10 Last Updated 2011-03-10 12:39 Completed 2011-03-10 12:39 Status Complete Review Resolution Rejected (REJ) Review Conclusion This request is rejected. See the TSMA response for rationale.
Problem Reporting System Options:
- View Report 2565
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority