BS ISO IEC 10967-3-2007 Information technology - Language independent arithmetric - Complex integer and floating point arithmetic and complex elementary numerical function.pdf
《BS ISO IEC 10967-3-2007 Information technology - Language independent arithmetric - Complex integer and floating point arithmetic and complex elementary numerical function.pdf》由会员分享,可在线阅读,更多相关《BS ISO IEC 10967-3-2007 Information technology - Language independent arithmetric - Complex integer and floating point arithmetic and complex elementary numerical function.pdf(160页珍藏版)》请在麦多课文档分享上搜索。
1、BRITISH STANDARD BS ISO/IEC 10967-3:2006 Incorporating corrigendum no. 1 Information technology Language independent arithmetic Part 3: Complex integer and floating point arithmetic and complex elementary numerical functions ICS 35.060 BS ISO/IEC 10967-3:2006 This British Standard was published unde
2、r the authority of the Standards Policy and Strategy Committee on 31 May 2007 BSI 2007 ISBN 978 0 580 60212 2 National foreword This British Standard is the UK implementation of ISO/IEC 10967-3:2006. The UK participation in its preparation was entrusted to Technical Committee IST/5, Programming lang
3、uages, their environments and system software interfaces. A list of organizations represented on this committee can be obtained on request to its secretary. NOTE An editorial error has been identified in note 1 of clause 2 of the ISO/IEC text of this standard. The Annex referred to does not exist in
4、 this standard. ISO/IEC technical committee JTC1/SC22 has been informed of this error by BSI. This publication does not purport to include all the necessary provisions of a contract. Users are responsible for its correct application. Compliance with a British Standard cannot confer immunity from leg
5、al obligations. Amendments issued since publication Amd. No. Date Comments 17397 Corrigendum No. 1 28 September 2007 Correction to ISBN Reference number ISO/IEC 10967-3:2006(E)INTERNATIONAL STANDARD ISO/IEC 10967-3 First edition 2006-05-01 Information technology Language independent arithmetic Part
6、3: Complex integer and floating point arithmetic and complex elementary numerical functions Technologies de linformation Arithmtique indpendante des langages Partie 3: Arithmtique des nombres complexes entiers et en virgule flottante et fonctions numriques lmentaires complexes BS ISO/IEC 10967-3:200
7、6ii BS ISO/IEC 10967-3:2006 iiiContents Foreword vii Introduction viii 1 Scope 1 1.1 Inclusions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 1.2 Exclusions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 2 Conformity 3 3 Norm
8、ative references 4 4 Symbols and denitions 4 4.1 Symbols . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 4.1.1 Sets and intervals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 4.1.2 Operators and relations . . . . . . . . . . . . . . . . .
9、. . . . . . . . . . . . 4 4.1.3 Mathematical functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 4.1.4 Exceptional values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 4.1.5 Datatypes and special values . . . . . . . . . . . . . . . . . . . . . . . . . . 6 4.1.6
10、 Complex value constructors and complex datatype constructors . . . . . . . 8 4.2 Denitions of terms. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 5 Specications for imaginary and complex datatypes and operations 14 5.1 Imaginary and complex integer datatypes and operation
11、s . . . . . . . . . . . . . . 14 5.1.1 The complex integer result helper function . . . . . . . . . . . . . . . . . . 15 5.1.2 Imaginary and complex integer operations . . . . . . . . . . . . . . . . . . . 15 5.1.2.1 Complex integer comparisons . . . . . . . . . . . . . . . . . . . . . 15 5.1.2.2 Mu
12、ltiplication by the imaginary unit. . . . . . . . . . . . . . . . . 17 5.1.2.3 The real and imaginary parts of a complex value . . . . . . . . . . 17 5.1.2.4 Formation of a complex integer from two real valued integers . . . 18 5.1.2.5 Basic complex integer arithmetic . . . . . . . . . . . . . . . .
13、 . . . 18 5.1.2.6 Absolute value and signum of integers and imaginary integers. . . 21 5.1.2.7 Divisibility interrogation . . . . . . . . . . . . . . . . . . . . . . . 21 5.1.2.8 Integerdivisionandremainderextendedtoimaginaryandcomplex integers . . . . . . . . . . . . . . . . . . . . . . . . . . . .
14、 . . . . . 22 5.1.2.9 Maximum and minimum . . . . . . . . . . . . . . . . . . . . . . . 27 5.2 Imaginary and complex oating point datatypes and operations . . . . . . . . . . . 28 5.2.1 Maximum error requirements . . . . . . . . . . . . . . . . . . . . . . . . . . 28 5.2.2 Sign requirements . . . .
15、. . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 5.2.3 Monotonicity requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 5.2.4 The complex oating point result helper functions . . . . . . . . . . . . . . 30 5.2.5 Basic arithmetic for complex oating point . . . . . . . . .
16、. . . . . . . . . 31 5.2.5.1 Complex oating point comparisons . . . . . . . . . . . . . . . . . 31 5.2.5.2 Multiplication by the imaginary unit. . . . . . . . . . . . . . . . . 33 5.2.5.3 The real and imaginary parts of a complex value . . . . . . . . . . 34 5.2.5.4 Formation of a complex oating poi
17、nt from two oating point values 34 5.2.5.5 Fundamental complex oating point arithmetic . . . . . . . . . . . 34BS ISO/IEC 10967-3:2006 iv 5.2.5.6 Absolute value, phase and signum of complex oating point values 38 5.2.5.7 Floor, round, and ceiling . . . . . . . . . . . . . . . . . . . . . . . 39 5.2.
18、5.8 Maximum and minimum . . . . . . . . . . . . . . . . . . . . . . . 39 5.2.6 Complex sign, multiplication, and division . . . . . . . . . . . . . . . . . . . 40 5.2.6.1 Complex signum . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 5.2.6.2 Complex multiplication . . . . . . . . . . . .
19、. . . . . . . . . . . . 41 5.2.6.3 Complex division. . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 5.2.7 Operations for conversion from polar to Cartesian . . . . . . . . . . . . . . 43 5.3 Elementary transcendental imaginary and complex oating point operations . . . . 44 5.3.1 Operations
20、 for exponentiations and logarithms . . . . . . . . . . . . . . . . 44 5.3.1.1 Exponentiation of imaginary base to integer power . . . . . . . . . 44 5.3.1.2 Natural exponentiation . . . . . . . . . . . . . . . . . . . . . . . . 45 5.3.1.3 Complex exponentiation of argument base . . . . . . . . . .
21、. . . 45 5.3.1.4 Complex square root . . . . . . . . . . . . . . . . . . . . . . . . . 46 5.3.1.5 Natural logarithm . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 5.3.2 Operations for radian trigonometric elementary functions . . . . . . . . . . 49 5.3.2.1 Radian angle normalisation . . .
22、. . . . . . . . . . . . . . . . . . . 49 5.3.2.2 Radian sine . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 5.3.2.3 Radian cosine . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 5.3.2.4 Radian tangent. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 5.3.2.5
23、Radian cotangent . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 5.3.2.6 Radian secant . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 5.3.2.7 Radian cosecant . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 5.3.2.8 Radian arc sine . . . . . . . . . . . . . . . . . .
24、. . . . . . . . . . 53 5.3.2.9 Radian arc cosine . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 5.3.2.10 Radian arc tangent . . . . . . . . . . . . . . . . . . . . . . . . . . 56 5.3.2.11 Radian arc cotangent . . . . . . . . . . . . . . . . . . . . . . . . . 57 5.3.2.12 Radian arc secant .
- 1.请仔细阅读文档,确保文档完整性,对于不预览、不比对内容而直接下载带来的问题本站不予受理。
- 2.下载的文档,不会出现我们的网址水印。
- 3、该文档所得收入(下载+内容+预览)归上传者、原创作者;如果您是本文档原作者,请点此认领!既往收益都归您。
下载文档到电脑,查找使用更方便
10000 积分 0人已下载
下载 | 加入VIP,交流精品资源 |
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- BSISOIEC1096732007INFORMATIONTECHNOLOGYLANGUAGEINDEPENDENTARITHMETRICCOMPLEXINTEGERANDFLOATINGPOINTARITHMETICANDCOMPLEXELEMENTARYNUMERICALFUNCTIONPDF

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