BS ISO IEC 10967-2-2001 Information technology Language independent arithmetic Elementary numerical functions《信息技术 独立于语言的算术 基本数值函数》.pdf
《BS ISO IEC 10967-2-2001 Information technology Language independent arithmetic Elementary numerical functions《信息技术 独立于语言的算术 基本数值函数》.pdf》由会员分享,可在线阅读,更多相关《BS ISO IEC 10967-2-2001 Information technology Language independent arithmetic Elementary numerical functions《信息技术 独立于语言的算术 基本数值函数》.pdf(190页珍藏版)》请在麦多课文档分享上搜索。
1、BRITISH STANDARD BS ISO/IEC 10967-2:2001 Information technology Language independent arithmetic Part 2: Elementary numerical functions ICS 35.060 NO COPYING WITHOUT BSI PERMISSION EXCEPT AS PERMITTED BY COPYRIGHT LAWBS ISO/IEC 10967-2:2001 This British Standard, having been prepared under the direct
2、ion of the DISC Board, was published under the authority of the Standards Policy and Strategy Committee on 24 August 2001 BSI 24 August 2001 ISBN 0 580 38060 2 National foreword This British Standard reproduces verbatim ISO/IEC 10967-2:2001 and implements it as the UK national standard. The UK parti
3、cipation in its preparation was entrusted to Technical Committee IST/5, Programming Languages, Their Environments and System Software Interfaces, which has the responsibility to: A list of organizations represented on this committee can be obtained on request to its secretary. Cross-references The B
4、ritish Standards which implement international or European publications referred to in this document may be found in the BSI Standards Catalogue under the section entitled “International Standards Correspondence Index”, or by using the “Find” facility of the BSI Standards Electronic Catalogue. A Bri
5、tish Standard does not purport to include all the necessary provisions of a contract. Users of British Standards are responsible for their correct application. Compliance with a British Standard does not of itself confer immunity from legal obligations. aid enquirers to understand the text; present
6、to the responsible international/European committee any enquiries on the interpretation, or proposals for change, and keep the UK interests informed; monitor related international and European developments and promulgate them in the UK. Summary of pages This document comprises a front cover, an insi
7、de front cover, the ISO/IEC title page, pages ii to x, pages 1 to 177 and a back cover The BSI copyright date displayed in this document indicates when the document was last issued. Amendments issued since publication Amd. No. Date CommentsReference number ISO/IEC 10967-2:2001(E) ISO/IEC 2001 INTERN
8、ATIONAL STANDARD ISO/IEC 10967-2 First edition 2001-08-15 Information technology Language independent arithmetic Part 2: Elementary numerical functions Technologies de linformation Arithmtique de langage indpendant Partie 2: Fonctions numriques lmentairesii ISO/IEC109672:2001(E) c CEI/OSI 1002 llA r
9、ights vreserde ISO/IEC 10967-2:2001(E) Contents Foreword . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . viii Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ix 1 Scope 1 1.1 Inclusions . . . . . . . . . . . .
10、 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 1.2 Exclusions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 2 Conformity 2 3 Normative references 3 4 Symbols and denitions 4 4.1 Symbols . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
11、. . . . . . . . . . . 4 4.1.1 Sets and intervals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 4.1.2 Operators and relations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 4.1.3 Mathematical functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 4.1.
12、4 Exceptional values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 4.1.5 Datatypes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 4.2 Denitions of terms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 5 Specications for integ
13、er and oating point operations 10 5.1 Basic integer operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 5.1.1 The integer result and wrap helper functions . . . . . . . . . . . . . . . . . 10 5.1.2 Integer maximum and minimum . . . . . . . . . . . . . . . . . . . . . . .
14、. 11 5.1.3 Integer diminish . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 5.1.4 Integer power and arithmetic shift . . . . . . . . . . . . . . . . . . . . . . . 12 5.1.5 Integer square root . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 5.1.6 Divisibility t
15、ests . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 5.1.7 Integer division (with oor, round, or ceiling) and remainder . . . . . . . . 13 5.1.8 Greatest common divisor and least common positive multiple . . . . . . . . 13 5.1.9 Support operations for extended integer range . .
16、. . . . . . . . . . . . . . . 14 5.2 Basic oating point operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 5.2.1 The rounding and oating point result helper functions . . . . . . . . . . . 15 5.2.2 Floating point maximum and minimum . . . . . . . . . . . . . . . . . . . . 17 5.2
17、.3 Floating point diminish . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 5.2.4 Floor, round, and ceiling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 5.2.5 Remainder after division with round to integer . . . . . . . . . . . . . . . . 20 5.2.6 Square root and reciproca
18、l square root . . . . . . . . . . . . . . . . . . . . . 20 5.2.7 Multiplication to higher precision oating point datatype . . . . . . . . . . 20 5.2.8 Support operations for extended oating point precision . . . . . . . . . . . 21 5.3 Elementary transcendental oating point operations . . . . . . . .
19、 . . . . . . . . . 22 5.3.1 Maximum error requirements . . . . . . . . . . . . . . . . . . . . . . . . . . 22 5.3.2 Sign requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 5.3.3 Monotonicity requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 5.3.4 The
20、result helper function . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 5.3.5 Hypotenuse . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 5.3.6 Operations for exponentiations and logarithms . . . . . . . . . . . . . . . . 24 iii ISO/IEC109672:2001(E) ICEI/OS )E(1002
21、:2-76901 c ISO/IEC 2001 All rights reserved 5.3.6.1 Integer power of argument base . . . . . . . . . . . . . . . . . . . 24 5.3.6.2 Natural exponentiation . . . . . . . . . . . . . . . . . . . . . . . . 25 5.3.6.3 Natural exponentiation, minus one . . . . . . . . . . . . . . . . . . 26 5.3.6.4 Expon
22、entiation of 2 . . . . . . . . . . . . . . . . . . . . . . . . . . 27 5.3.6.5 Exponentiation of 10 . . . . . . . . . . . . . . . . . . . . . . . . . 27 5.3.6.6 Exponentiation of argument base . . . . . . . . . . . . . . . . . . . 28 5.3.6.7 Exponentiation of one plus the argument base, minus one . .
23、 . . . 29 5.3.6.8 Natural logarithm . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 5.3.6.9 Natural logarithm of one plus the argument . . . . . . . . . . . . . 30 5.3.6.10 2-logarithm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 5.3.6.11 10-logarithm . . . . . . . . . .
24、 . . . . . . . . . . . . . . . . . . . . 31 5.3.6.12 Argument base logarithm . . . . . . . . . . . . . . . . . . . . . . . 31 5.3.6.13 Argument base logarithm of one plus each argument . . . . . . . . 32 5.3.7 Introduction to operations for trigonometric elementary functions . . . . . . 32 5.3.8 Ope
- 1.请仔细阅读文档,确保文档完整性,对于不预览、不比对内容而直接下载带来的问题本站不予受理。
- 2.下载的文档,不会出现我们的网址水印。
- 3、该文档所得收入(下载+内容+预览)归上传者、原创作者;如果您是本文档原作者,请点此认领!既往收益都归您。
下载文档到电脑,查找使用更方便
10000 积分 0人已下载
下载 | 加入VIP,交流精品资源 |
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- BSISOIEC1096722001INFORMATIONTECHNOLOGYLANGUAGEINDEPENDENTARITHMETICELEMENTARYNUMERICALFUNCTIONS 信息技术

链接地址:http://www.mydoc123.com/p-396210.html