HomeAbout Us A-Z IndexSearch * Contact Us Register LoginPress Shop

The Open Brand -- Problem Reporting and Interpretations System


Problem Report 0189 Details

Help Show help | Quick Search | Submit a Test Suite Support Request | Click here to view your privileges

This page provides all information on Problem Report 0189.


Report 0189 Actions


    Problem Report Number 0189
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.X.0189
    Raised 1994-09-12 08:00
    Updated 2003-03-13 08:00
    Published 1994-09-22 08:00
    Product Standard Internationalised System Calls and Libraries (XPG4)
    Certification Program The Open Brand certification program
    Test Suite VSX4 version 4.3.4
    Test Identification ANSI.os/maths/atan2 2
    Problem Summary TSD4.189 According to XPG4 or XPG4.2, both specification mentioned that 'If both arguments are zero, an implementation-dependent value is returned and errno MAY be set to [EDOM].' Since this return value is ...
    Problem Text
    According to XPG4 or XPG4.2, both specification mentioned that 'If both
    arguments are zero, an implementation-dependent value is returned and errno
    MAY be set to [EDOM].'

    Since this return value is optional, the test should not expect EDOM.
    Test Output
    /tset/ANSI.os/maths/atan2/T.atan2 2 Failed

    Test Description:
    atan2(), when called with both arguments zero, either
    a. returns zero and sets errno to EDOM;
    b. returns NaN and may set errno to EDOM.

    Test Strategy:
    CALCULATE floating point constants using mlmachar().
    CREATE child
    REASSIGN stderr to /dev/null to avoid error output from maths
    functions.
    VERIFY atan2(0.0, 0.0) either
    a. returns zero and sets errno to EDOM;
    b. returns NaN and may set errno to EDOM.

    Test Information:
    ERRNO VALUES: expected: 33 (EDOM), observed: 0 (NO ERROR)

    Review Information

    Review Type TSMA Review
    Start Date null
    Completed null
    Status Complete
    Review Recommendation No Resolution Given
    Review Response
    This is accepted as a test suite deficiency.

    Review Type SA Review
    Start Date null
    Completed null
    Status Complete
    Review Resolution Test Suite Deficiency (TSD)
    Review Conclusion
    This is an agreed Test Suite Deficiency.

    Problem Reporting System Options:

     

    Back   


Contact the Certification Authority