Details

[Home]

Issue of the Standard # S0158

Brief

Standard refers to matherr() function that should be defined in C99, but this definition is absent in C99

Detailed Description

LSB 3.1 refers to matherr() function that should be defined in C99, but this definition is absent in C99. This function in context of C99 is only mentioned in Rationale for International Standard—Programming Languages—C (Revision 5.10, April-2003): "The C89 Committee considered the adoption of the matherr capability from UNIX System V. In this feature of that system’s math library, any error such as overflow or underflow results in a call from the library function to a user-defined exception handler named matherr. The C89 Committee rejected this approach for several reasons".

Problem location(s) in the standard

Linux Standard Base Core Specification 3.1, Chapter 13. Base Libraries, 13.6. Interfaces for libm, 13.6.1. Math, 13.6.1.1. Interfaces for Math, Table 13-25. libm - Math Function Interfaces

Possible solutions

Describe the matherr() function or remove it from 13.6.1.1. Interfaces for Math.

References

No references to this issue found.

Accepted

LSB Bugzilla, 1291

Status

Fixed in LSB 3.2

[Home]