Special Math Functions Draft Technical Report
By C Project Lead on May 01, 2006
There were three major items to come out of the Berlin ISO C standard committee meeting which will move forward in the process of becoming Technical Reports.
- Decimal Floating Point DTR
- Extensions to the C Library Part I: Bounds-checking interfaces DTR
- Special Math Functions DTR
Today, I'll briefly mention the Special Math Functions DTR, which the committee also is moving forward through the SC22 registration process. These are essentially the same functions being adopted by C++ in their library TR, tailored to the C language. They include, among others:
- Bessel functions
- confluent hypergeometric functions
- Neumann functions
- Riemann zeta function
- Legendre functions
During the committee discussions it was pointed out that the values computed with special math functions are very susceptible to ‘sensitivities’ based on the input values provided. Outside of specific ranges, the values computed are essentially useless. Thus, implementations of these functions are not likely to be nearly as robust as implementations of the C90, and C99 math libraries. A few functions will likely be dropped from the TR in sync with those already dropped from the C++ TR. WG14 will extract from the existing C++ TR, account for DRs that exist for the C++ TR, have a small editorial review committee review the document, and forward it to SC22 for registration.