1 Scope
This part of ISO/IEC 10967 defines the properties of numerical approximations for many of the real elementary numerical functions available in standard libraries for a variety of programming languages in common use for mathematical and numerical applications.
An implementor may choose any combination of hardware and software support to meet the specifications of this part. It is the computing environment, as seen by the programmer/user, that does or does not conform to the specifications.
The term implementation (of this part) denotes the total computing environment pertinent to this part, including hardware, language processors, subroutine libraries, exception handling facilities, other software, and documentation.
1.1 Inclusions
The specifications of part 1 are included by reference in this part.
This part provides specifications for numerical functions for which all operand values are of integer or floating point datatypes satisfying the requirements of part 1. Boundaries for the occurrence of exceptions and the maximum error allowed are prescribed for each specified operation. Also the result produced by giving a special value operand, such as an infinity, or a NaN, is prescribed for each specified floating point operation.
This part covers most numerical functions required by the ISO/IEC standards for Ada [11], Basic [16], C [17], C++ [18], Fortran [22], ISLisp [24], Pascal [27], and PL/I [29]. In particular, specifications are provided for:
-
a) Some additional integer operations.
-
b) Some additional non-transcendental floating point operations, including maximum and minimum operations.
-
c) Exponentiations, logarithms, and hyperbolics.
-
d) Trigonometries, both in radians and for argument-given angular unit with degrees as a special case.
This part also provides specifications for:
-
e) Conversions between integer and floating point datatypes (possibly with different radices) conforming to the requirements of part 1, and the conversion operations used, for example, in text input and output of integer and floating point numbers.
-
f) The results produced by an included floating point operation when one or more argument values are IEC 60559 special values.
-
g) Program-visible parameters that characterise certain aspects of the operations.