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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 1899 Actions


    Problem Report Number 1899
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.X.0960
    Raised 2002-10-11 08:00
    Updated 2003-03-13 08:00
    Published 2002-10-16 08:00
    Product Standard Internationalised System Calls and Libraries Extended V2 (UNIX 98)
    Certification Program The Open Brand certification program
    Test Suite VSX4 version 4.4.5
    Test Identification XPG4.hdr/misc/float 4
    Problem Summary TSD5.029 When this test checks LDBL_MAX it compares the calculated value with the defined constant in a way that allows for some slight inaccuracy in the calculation. This is fine if the inaccuracy causes the ...
    Problem Text
    When this test checks LDBL_MAX it compares the calculated value
    with the defined constant in a way that allows for some slight
    inaccuracy in the calculation. This is fine if the inaccuracy
    causes the calculated value to be less than LDBL_MAX. However,
    if the calculated value would be more than LDBL_MAX, the
    calculation overflows and the "expected" value is infinity.

    The failure reported for LDBL_MAX_10_EXP is a consequence of the
    calculated LDBL_MAX value being too large.

    The test also tries to calculate LDBL_MIN_EXP (and from that,
    LDBL_MIN and LDBL_MIN_10_EXP). This calculation only works
    for IEEE floating point representations. For non-IEEE floating
    point, the dividing line between normalised and subnormal
    numbers may be chosen arbitrarily, and so cannot be checked by
    calculation.
    Test Output
    ************************************************************************
    /tset/XPG4.hdr/misc/float/T.float 4 Failed

    Test Description:
    When the values for the following symbolic names can be determined
    arithmetically, then the symbolic names evaluate to the same value:
    FLT_DIG, DBL_DIG, LDBL_DIG, FLT_MIN_EXP, DBL_MIN_EXP, LDBL_MIN_EXP,
    FLT_MIN_10_EXP, DBL_MIN_10_EXP, LDBL_MIN_10_EXP, FLT_MAX_EXP,
    DBL_MAX_EXP, LDBL_MAX_EXP, FLT_MAX_10_EXP, DBL_MAX_10_EXP,
    LDBL_MAX_10_EXP, FLT_MAX, DBL_MAX, LDBL_MAX, FLT_EPSILON, DBL_EPSILON,
    LDBL_EPSILON, FLT_MANT_DIG, DBL_MANT_DIG, LDBL_MANT_DIG, FLT_MIN,
    DBL_MIN, LDBL_MIN and FLT_RADIX.

    Test Information:
    Feature test macros: -D_XOPEN_SOURCE=500
    Compiler or run-time messages or results:
    Value of LDBL_MAX is incorrect
    Observed: 1.797693134862315807937289714053e+308
    Expected: inf
    Value of LDBL_MIN_EXP is incorrect
    Observed: -1021
    Expected: -915
    Value of LDBL_MIN is incorrect
    Observed: 2.225073858507201383090232717332e-308
    Expected: 1.805194375864829576069262081174e-276
    Value of LDBL_MAX_10_EXP is incorrect
    Observed: 308
    Expected: 309
    Value of LDBL_MIN_10_EXP is incorrect
    Observed: -307
    Expected: -275
    Feature test macros: -D_XOPEN_SOURCE=500 -D_POSIX_SOURCE
    Compiler or run-time messages or results:
    Value of LDBL_MAX is incorrect
    Observed: 1.797693134862315807937289714053e+308
    Expected: inf
    Value of LDBL_MIN_EXP is incorrect
    Observed: -1021
    Expected: -915
    Value of LDBL_MIN is incorrect
    Observed: 2.225073858507201383090232717332e-308
    Expected: 1.805194375864829576069262081174e-276
    Value of LDBL_MAX_10_EXP is incorrect
    Observed: 308
    Expected: 309
    Value of LDBL_MIN_10_EXP is incorrect
    Observed: -307
    Expected: -275
    Feature test macros: -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=1
    Compiler or run-time messages or results:
    Value of LDBL_MAX is incorrect
    Observed: 1.797693134862315807937289714053e+308
    Expected: inf
    Value of LDBL_MIN_EXP is incorrect
    Observed: -1021
    Expected: -915
    Value of LDBL_MIN is incorrect
    Observed: 2.225073858507201383090232717332e-308
    Expected: 1.805194375864829576069262081174e-276
    Value of LDBL_MAX_10_EXP is incorrect
    Observed: 308
    Expected: 309
    Value of LDBL_MIN_10_EXP is incorrect
    Observed: -307
    Expected: -275
    Feature test macros: -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=1
    -D_POSIX_SOURCE
    Compiler or run-time messages or results:
    Value of LDBL_MAX is incorrect
    Observed: 1.797693134862315807937289714053e+308
    Expected: inf
    Value of LDBL_MIN_EXP is incorrect
    Observed: -1021
    Expected: -915
    Value of LDBL_MIN is incorrect
    Observed: 2.225073858507201383090232717332e-308
    Expected: 1.805194375864829576069262081174e-276
    Value of LDBL_MAX_10_EXP is incorrect
    Observed: 308
    Expected: 309
    Value of LDBL_MIN_10_EXP is incorrect
    Observed: -307
    Expected: -275
    Feature test macros: -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=2
    Compiler or run-time messages or results:
    Value of LDBL_MAX is incorrect
    Observed: 1.797693134862315807937289714053e+308
    Expected: inf
    Value of LDBL_MIN_EXP is incorrect
    Observed: -1021
    Expected: -915
    Value of LDBL_MIN is incorrect
    Observed: 2.225073858507201383090232717332e-308
    Expected: 1.805194375864829576069262081174e-276
    Value of LDBL_MAX_10_EXP is incorrect
    Observed: 308
    Expected: 309
    Value of LDBL_MIN_10_EXP is incorrect
    Observed: -307
    Expected: -275
    Feature test macros: -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=2
    -D_POSIX_SOURCE
    Compiler or run-time messages or results:
    Value of LDBL_MAX is incorrect
    Observed: 1.797693134862315807937289714053e+308
    Expected: inf
    Value of LDBL_MIN_EXP is incorrect
    Observed: -1021
    Expected: -915
    Value of LDBL_MIN is incorrect
    Observed: 2.225073858507201383090232717332e-308
    Expected: 1.805194375864829576069262081174e-276
    Value of LDBL_MAX_10_EXP is incorrect
    Observed: 308
    Expected: 309
    Value of LDBL_MIN_10_EXP is incorrect
    Observed: -307
    Expected: -275
    Feature test macros: -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=199309
    Compiler or run-time messages or results:
    Value of LDBL_MAX is incorrect

    Observed: 1.797693134862315807937289714053e+308
    Expected: inf
    Value of LDBL_MIN_EXP is incorrect
    Observed: -1021
    Expected: -915
    Value of LDBL_MIN is incorrect
    Observed: 2.225073858507201383090232717332e-308
    Expected: 1.805194375864829576069262081174e-276
    Value of LDBL_MAX_10_EXP is incorrect
    Observed: 308
    Expected: 309
    Value of LDBL_MIN_10_EXP is incorrect
    Observed: -307
    Expected: -275
    Feature test macros: -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=199309
    -D_POSIX_SOURCE
    Compiler or run-time messages or results:
    Value of LDBL_MAX is incorrect
    Observed: 1.797693134862315807937289714053e+308
    Expected: inf
    Value of LDBL_MIN_EXP is incorrect
    Observed: -1021
    Expected: -915
    Value of LDBL_MIN is incorrect
    Observed: 2.225073858507201383090232717332e-308
    Expected: 1.805194375864829576069262081174e-276
    Value of LDBL_MAX_10_EXP is incorrect
    Observed: 308
    Expected: 309
    Value of LDBL_MIN_10_EXP is incorrect
    Observed: -307
    Expected: -275
    Feature test macros: -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=199506
    Compiler or run-time messages or results:
    Value of LDBL_MAX is incorrect
    Observed: 1.797693134862315807937289714053e+308
    Expected: inf
    Value of LDBL_MIN_EXP is incorrect
    Observed: -1021
    Expected: -915
    Value of LDBL_MIN is incorrect
    Observed: 2.225073858507201383090232717332e-308
    Expected: 1.805194375864829576069262081174e-276
    Value of LDBL_MAX_10_EXP is incorrect
    Observed: 308
    Expected: 309
    Value of LDBL_MIN_10_EXP is incorrect
    Observed: -307
    Expected: -275
    Feature test macros: -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=199506
    -D_POSIX_SOURCE
    Compiler or run-time messages or results:
    Value of LDBL_MAX is incorrect
    Observed: 1.797693134862315807937289714053e+308
    Expected: inf
    Value of LDBL_MIN_EXP is incorrect
    Observed: -1021
    Expected: -915
    Value of LDBL_MIN is incorrect
    Observed: 2.225073858507201383090232717332e-308
    Expected: 1.805194375864829576069262081174e-276
    Value of LDBL_MAX_10_EXP is incorrect
    Observed: 308
    Expected: 309
    Value of LDBL_MIN_10_EXP is incorrect
    Observed: -307
    Expected: -275

    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 fault in the test suite.

    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