IBM Support

PH22365: LIMITS HEADER GIVES THE DOUBLE LIMIT INSTEAD OF THE LONG DOUBLE LIMIT

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • limits header gives the double limit instead of the long double
    limit
    

Local fix

  • N/A
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: C++ users looking for the maximum exponent   *
    *                 for long doubles in IEEE mode                *
    ****************************************************************
    * PROBLEM DESCRIPTION: The limits header is designed for AIX   *
    *                      where long double and double have the   *
    *                      same number of bits for the exponent    *
    *                      field. This does not work for true      *
    *                      IEEE long double support.               *
    ****************************************************************
    * RECOMMENDATION: Use the C header.                            *
    ****************************************************************
    N/A
    

Problem conclusion

  • Only limit the exponent setting of long double to be the same as
    double to HEX format floating point or to AIX.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH22365

  • Reported component name

    C/C++ FOR MVS

  • Reported component ID

    56551210A

  • Reported release

    7B0

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2020-02-19

  • Closed date

    2020-02-20

  • Last modified date

    2020-04-02

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

    UI68030 PH30363

Modules/Macros

  • CRTE128N CRTEC128 CRTEC64  CRTIB013
    

Fix information

  • Fixed component name

    ANSI C++ CLASS

  • Fixed component ID

    568819807

Applicable component levels

  • R7B0 PSY UI68030

       UP20/03/31 P F003

Fix is available

  • Select the PTF appropriate for your component level. You will be required to sign in. Distribution on physical media is not available in all countries.

[{"Line of Business":{"code":"LOB08","label":"Cognitive Systems"},"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SSTLTF","label":"z\/OS XL C\/C++"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7B0"}]

Document Information

Modified date:
10 October 2020