BS ISO/IEC 10967-2-2001
信息技术.独立于语言的算术.基本数值函数

Information technology. Language independent arithmetic. Elementary numerical functions


 

 

非常抱歉,我们暂时无法提供预览,您可以试试: 免费下载 BS ISO/IEC 10967-2-2001 前三页,或者稍后再访问。

如果您需要购买此标准的全文,请联系:

点击下载后,生成下载文件时间比较长,请耐心等待......

 

标准号
BS ISO/IEC 10967-2-2001
发布日期
2001年08月24日
实施日期
2001年08月24日
废止日期
中国标准分类号
L74
国际标准分类号
35.060
发布单位
GB-BSI
被代替标准
97/641609 DC-1997
适用范围
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 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 oc-currence 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 min-imum 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. 2 Exclusions This part provides no specifications for a) Numerical functions whose operands are of more than one datatype (with one exception). This part neither requires nor excludes the presence of such "mixed operand" operations. b) An interval datatype, or the operations on such data. This part neither requires nor excludes such data or operations. c) A fixed point datatype, or the operations on such data. This part neither requires nor excludes such data or operations. d) A rational datatype, or the operations on such data. This part neither requires nor excludes such data or operations. e) Complex, matrix, statistical, or symbolic operations. This part neither requires nor excludes such data or operations. f) The properties of arithmetic datatypes that are not related to the numerical process, such as the representation of values on physical media. g) The properties of integer and floating point datatypes that properly belong in programming language standards or other specifications. Examples include 1) the syntax of numerals and expressions in the programming language, 2) the syntax used for parsed (input) or generated (output) character string forms for numerals by any specific programming language or library, 3) the precedence of operators in the programming language, 4) the presence or absence of automatic datatype coercions, 5) the rules for assignment, parameter passing, and returning value, 6) the consequences of applying an operation to values of improper datatype, or to unini-tialised data. Furthermore, this part does not provide specifications for how the operations should be imple-mented or which algorithms are to be used for the vario

BS ISO/IEC 10967-2-2001系列标准





Copyright ©2007-2022 ANTPEDIA, All Rights Reserved
京ICP备07018254号 京公网安备1101085018 电信与信息服务业务经营许可证:京ICP证110310号