BS PD ISO IEC TS 18661-1-2014 Information technology Programming languages their environments and system software interfaces Floating-point extensions for C Binary floating-point a.pdf
《BS PD ISO IEC TS 18661-1-2014 Information technology Programming languages their environments and system software interfaces Floating-point extensions for C Binary floating-point a.pdf》由会员分享,可在线阅读,更多相关《BS PD ISO IEC TS 18661-1-2014 Information technology Programming languages their environments and system software interfaces Floating-point extensions for C Binary floating-point a.pdf(66页珍藏版)》请在麦多课文档分享上搜索。
1、BSI Standards Publication PD ISO/IEC TS 18661-1:2014 Information technology Programming languages, their environments, and system software interfaces Floating- point extensions for C Part 1: Binary floating-point arithmeticPD ISO/IEC TS 18661-1:2014 PUBLISHED DOCUMENT National foreword This Publishe
2、d Document is the UK implementation of ISO/IEC TS 18661-1:2014. The UK participation in its preparation was entrusted to Technical Committee IST/5, Programming languages, their environments and system software interfaces. A list of organizations represented on this committee can be obtained on reque
3、st to its secretary. This publication does not purport to include all the necessary provisions of a contract. Users are responsible for its correct application. The British Standards Institution 2014. Published by BSI Standards Limited 2014 ISBN 978 0 580 85414 9 ICS 35.060 Compliance with a British
4、 Standard cannot confer immunity from legal obligations. This Published Document was published under the authority of the Standards Policy and Strategy Committee on 31 August 2014. Amendments issued since publication Date Text affectedPD ISO/IEC TS 18661-1:2014Reference number ISO/IEC TS 18661-1:201
5、4(E) ISO/IEC 2014TECHNICAL SPECIFICATION ISO/IEC TS 18661-1 First edition 2014-07-15Information technology Programming languages, their environments, and system software interfaces Floating- point extensions for C Part 1: Binary floating-point arithmetic Technologies de linformation Langages de prog
6、rammation, leurs environnements et interfaces du logiciel systme Extensions virgule flottante pour C Partie 1: Arithmtique binaire en virgule flottante PD ISO/IEC TS 18661-1:2014 ISO/IEC TS 18661-1:2014(E) COPYRIGHT PROTECTED DOCUMENT ISO/IEC 2014 All rights reserved. Unless otherwise specified, no
7、part of this publication may be reproduced or utilized otherwise in any form or by any means, electronic or mechanical, including photocopying, or posting on the internet or an intranet, without prior written permission. Permission can be requested from either ISO at the address below or ISOs member
8、 body in the country of the requester. ISO copyright office Case postale 56 CH-1211 Geneva 20 Tel. + 41 22 749 01 11 Fax + 41 22 749 09 47 E-mail copyrightiso.org Web www.iso.org Published in Switzerland ii ISO/IEC 2014 All rights reservedPD ISO/IEC TS 18661-1:2014 ISO/IEC TS 18661-1:2014(E) ISO/IEC
9、 2014 All rights reserved iiiContents Page Introduction . v IEC 60559 floating-point standard vBackground . v C support for IEC 60559 viPurpose . vii1 Scope . 1 2 Conformance 1 3 Normative references 1 4 Terms and definitions 2 5 C standard conformance . 25.1 Freestanding implementations 25.2 Predef
10、ined macros 25.3 Standard headers 36 Revised floating-point standard . 5 7 Types . 67.1 Terminology . 67.2 Canonical representation . 78 Operation binding 8 9 Floating to integer conversion 13 10.1 Conversions with decimal character sequences . 13 10 Conversions between floating types and character
11、sequences . 13 10.2 Conversions to character sequences . 1411 Constant rounding directions . 15 12 NaN support 22 13 Integer width macros . 27 14 Mathematics . 2914.1 Nearest integer functions . 2914.1.1 Round to integer value in floating type . 2914.1.2 Convert to integer type . 3114.2 The llogb fu
12、nctions . 3414.3 Max-min magnitude functions . 3514.4 The nextup and nextdown functions . 3614.5 Functions that round result to narrower type 3714.6 Comparison macros . 4014.7 Classification macros . 4114.8 Total order functions 4314.9 Canonicalize functions . 4414.10 NaN functions 4515 The floating
13、-point environment 4715.1 The fesetexcept function 4715.2 The fetestexceptflag function . 4815.3 Control modes . 4816 Type-generic math . 50 Bibliography 52 PD ISO/IEC TS 18661-1:2014 ISO/IEC TS 18661-1:2014(E) iv ISO/IEC 2014 All rights reservedForeword ISO (the International Organization for Stand
14、ardization) and IEC (the International Electrotechnical Commission) form the specialized system for worldwide standardization. National bodies that are members of ISO or IEC participate in the development of International Standards through technical committees established by the respective organizat
15、ion to deal with particular fields of technical activity. ISO and IEC technical committees collaborate in fields of mutual interest. Other international organizations, governmental and non-governmental, in liaison with ISO and IEC, also take part in the work. In the field of information technology,
16、ISO and IEC have established a joint technical committee, ISO/IEC JTC 1. The procedures used to develop this document and those intended for its further maintenance are described in the ISO/IEC Directives, Part 1. In particular the different approval criteria needed for the different types of docume
17、nt should be noted. This document was drafted in accordance with the editorial rules of the ISO/IEC Directives, Part 2 (see www.iso.org/directives). Attention is drawn to the possibility that some of the elements of this document may be the subject of patent rights. ISO and IEC shall not be held res
18、ponsible for identifying any or all such patent rights. Details of any patent rights identified during the development of the document will be in the Introduction and/or on the ISO list of patent declarations received (see www.iso.org/patents). Any trade name used in this document is information giv
19、en for the convenience of users and does not constitute an endorsement. For an explanation on the meaning of ISO specific terms and expressions related to conformity assessment, as well as information about ISOs adherence to the WTO principles in the Technical Barriers to Trade (TBT) see the followi
20、ng URL: Foreword - Supplementary information The committee responsible for this document is ISO/IEC JTC 1, Information technology, SC 22, Programming languages, their environments, and system software interfaces. ISO/IEC TS 18661 consists of the following parts, under the general title Information t
21、echnology Programming languages, their environments, and system software interfaces Floating-point extensions for C: Part 1: Binary floating-point arithmetic Part 2: Decimal floating-point arithmetic Part 3: Interchange and extended types Part 4: Supplementary functions Part 5: Supplementary attribu
22、tes Part 1 updates ISO/IEC 9899:2011, Information technology Programming languages C, Annex F in particular, to support all required features of ISO/IEC/IEEE 60559:2011, Information technology Microprocessor Systems Floating-point arithmetic. Part 2 supersedes ISO/IEC TR 24732:2009, Information tech
23、nology Programming languages, their environments and system software interfaces Extension for the programming language C to support decimal floating-point arithmetic. Parts 3-5 specify extensions to ISO/IEC 9899:2011 for features recommended in ISO/IEC/IEEE 60559:2011.PD ISO/IEC TS 18661-1:2014 ISO/
24、IEC TS 18661-1:2014(E) ISO/IEC 2014 All rights reserved vIntroduction Background IEC 60559 floating-point standard The IEEE 754-1985 standard for binary floating-point arithmetic was motivated by an expanding diversity in floating-point data representation and arithmetic, which made writing robust p
- 1.请仔细阅读文档,确保文档完整性,对于不预览、不比对内容而直接下载带来的问题本站不予受理。
- 2.下载的文档,不会出现我们的网址水印。
- 3、该文档所得收入(下载+内容+预览)归上传者、原创作者;如果您是本文档原作者,请点此认领!既往收益都归您。
下载文档到电脑,查找使用更方便
10000 积分 0人已下载
下载 | 加入VIP,交流精品资源 |
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- BSPDISOIECTS1866112014INFORMATIONTECHNOLOGYPROGRAMMINGLANGUAGESTHEIRENVIRONMENTSANDSYSTEMSOFTWAREINTERFACESFLOATINGPOINTEXTENSIONSFORCBINARYFLOATINGPOINTAPDF

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