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

The Open Brand -- Problem Reporting and Interpretations System


Problem Report 1640 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 1640.


Report 1640 Actions


    Problem Report Number 1640
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Permanent Interpretation (PIN)
    Problem Resolution ID PIN.X.0197
    Raised 2000-10-23 08:00
    Updated 2003-03-13 08:00
    Published 2000-11-06 08:00
    Product Standard Internationalised System Calls and Libraries Extended V2 (UNIX 98)
    Certification Program The Open Brand certification program
    Test Suite VSU version 5.1.1
    Test Identification base/ilogb 3
    Specification System Interfaces and Headers Issue 5
    Location in Spec See Problem Text
    Problem Summary PIN4U.00063 Allow C99 behaviour for ilogb(NaN), as next SUS revision will align with C99
    Problem Text

    /tset/CAPI.os/maths/ilogb/T.ilogb Test No:3

    According to current draft of SUSv3, aligned with c99,the ilogb(NaN)
    can return either INT_MAX or INT_MIN.

    In our implementation ilogb(NaN) returns INT_MIN.

    Since the behavior of this system matches an expected future direction,
    we request for a waiver to be granted.

    Test Output
    ***********************************************************************
    /tset/CAPI.os/maths/ilogb/T.ilogb 3 Failed

    Test Description:
    Base Conditional Conformance
    If the implementation supports NaN
    A call to int ilogb(double x) when x is NaN shall return
    INT_MAX.

    Test Information:
    PREP: Check for NaN support
    TEST: ilogb(NaN) returns INT_MAX
    ERROR: ilogb(NaN) returned incorrect value
    Expected INT_MAX
    Received -2.14748e+09
    ************************************************************************
    fi

    Review Information

    Review Type TSMA Review
    Start Date null
    Completed null
    Status Complete
    Review Recommendation No Resolution Given
    Review Response
    Since the new 1999 C Standard allows ilogb(NaN) to return either
    INT_MAX or INT_MIN, and the next revision of SUS will change to align
    with it, it is recommended that a Permanent Interpretation is granted
    to allow UNIX98 systems to follow this future direction.

    Review Type SA Review
    Start Date null
    Completed null
    Status Complete
    Review Resolution Permanent Interpretation (PIN)
    Review Conclusion
    A Permanent Interpretation is granted.

    Problem Reporting System Options:

     

    Back   


Contact the Certification Authority