GB/T 17966-2024 English PDFUS$1239.00 · In stock
Delivery: <= 8 days. True-PDF full-copy in English will be manually translated and delivered via email. GB/T 17966-2024: Information technology - Microprocessor systems - Floating-point arithmetic Status: Valid GB/T 17966: Historical versions
Basic dataStandard ID: GB/T 17966-2024 (GB/T17966-2024)Description (Translated English): Information technology - Microprocessor systems - Floating-point arithmetic Sector / Industry: National Standard (Recommended) Classification of Chinese Standard: L62 Classification of International Standard: 35.160 Word Count Estimation: 62,681 Date of Issue: 2024-09-29 Date of Implementation: 2025-04-01 Older Standard (superseded by this standard): GB/T 17966-2000 Issuing agency(ies): State Administration for Market Regulation, China National Standardization Administration GB/T 17966-2024: Information technology - Microprocessor systems - Floating-point arithmetic---This is a DRAFT version for illustration, not a final translation. Full copy of true-PDF in English version (including equations, symbols, images, flow-chart, tables, and figures etc.) will be manually/carefully translated upon your order.ICS 35.160 CCSL62 National Standard of the People's Republic of China Replace GB/T 17966-2000 Information technology - Microprocessor systems - Floating point operations (ISO /IEC 60559.2020,MOD) Released on 2024-09-29 2025-04-01 Implementation State Administration for Market Regulation The National Standardization Administration issued Table of ContentsPreface III Introduction IV 1 Scope 1 1.1 Regulations 1 1.2 Achieve Goal 1 1.3 Contains 1 1.4 Not included 1 1.5 Programming environment considerations 1 2 Normative references 2 3 Terms, definitions and abbreviations 2 3.1 Terms and Definitions 2 3.2 Abbreviations 6 4 Floating point format 7 4.1 General 7 4.2 Specification Level 7 4.3 Floating Point Dataset 8 4.4 Binary Interchange Format Encoding 9 4.5 Decimal Interchange Format Code 10 4.6 Exchange format parameters 12 4.7 Extension and scalable precision 13 5 Properties and rounding 14 5.1 Attribute Specification 14 5.2 Dynamic Mode of Attributes 14 5.3 Properties of rounding direction 15 6 Operation 16 6.1 General 16 6.2 Decimal exponent calculation 17 6.3 Isomorphic Universal Computation Operations 17 6.4 Format of Common Computational Operations 19 6.5 Silent Computation Operations 21 6.6 Signal computation operations 21 6.7 Non-computational operations 22 6.8 Detailed description of floating point format to integer format conversion 24 6.9 Details of rounding floating-point data to integer values 25 6.10 Detailed description of total order predicates 25 6.11 Detailed description of contrast predicates 26 6.12 Detailed description of conversion between floating point data and external character sequences 27 7 Infinities, NaNs, and the Sign Bit30 7.1 Infinite operations 30 7.2 Using NaN Operations 31 7.3 Sign bit 32 8 Exception and default exception handling 32 8.1 General. Exceptions and Flags 32 8.2 Invalid Operation 33 8.3 Division by zero34 8.4 Overflow34 8.5 Underflow 34 8.6 Imprecise 34 9 Alternative Exception Handling Attributes 35 9.1 General Principles 35 9.2 Restoring the Alternate Exception Handling Attributes 35 9.3 Immediate and Deferred Alternative Exception Handling Attributes 36 10 Recommended Operation 36 10.1 General 36 10.2 Language-defined and implementation-defined operations 37 10.3 Mathematical operations on appendix 43 10.4 Dynamic Mode Operation 43 10.5 Reduction Operations 43 10.6 Enhanced Arithmetic Operations 44 10.7 Minimum and Maximum Operations 46 10.8 NaN Payload Operations 47 11 Expression Evaluation 47 11.1 Expression Evaluation Rules 47 11.2 Tasks, Parameters, and Function Values 48 11.3 Preferred width attribute for expression evaluation 48 11.4 Literal Meaning and Value Change Optimization 48 12 Reproducible floating point results 49 Appendix A (Informative) Program Debugging Support 51 Appendix B (Informative) Operation List 53 References 55ForewordThis document is in accordance with the provisions of GB/T 1.1-2020 "Guidelines for standardization work Part 1.Structure and drafting rules for standardization documents" Drafting. This document replaces GB/T 17966-2000 "Binary floating-point operations for microprocessor systems". In addition to structural adjustments and editorial changes, the main technical changes are as follows. a) Added the description of the floating-point arithmetic programming environment considerations in the scope (see 1.5); b) Added binary and decimal interchange format encoding content (see Chapter 5); c) Changed the specific provisions of rounding, added the property description of rounding direction and the dynamic properties of rounding (see 6.1, 6.2, 6.3); d) Added rules for various floating point operations, including binary and decimal format conversion, exponent calculation, silent calculation, signal The contents of computational and non-computational operations (see 7.2, 7.5, 7.6, 7.7); e) Added description of exceptions and flags in general exception handling (see 9.1); f) Modified the provisions on some abnormal situations that trigger self-traps (see 9.2 and 9.3); g) Added some suggested operations and expression evaluation for floating-point operations (see Chapters 11 and 12). This document is modified to adopt ISO /IEC 60559.2020 "Information technology microprocessor systems floating-point operations". Compared with ISO /IEC 60559.2020, this document has made the following structural adjustments. --- Added a chapter on "Normative References", and the subsequent chapter numbers are postponed accordingly; --- Modified 6.3, 6.12, 7.2, Chapter 10, and the suspension section of 10.2; ---Appendix A and Appendix B correspond to Appendix B and Appendix C of ISO /IEC 60559.2020 respectively. The technical differences between this document and ISO /IEC 60559.2020 and their reasons are as follows. --- Deleted 1.6 “Use of auxiliary verbs”, which is not applicable to my country’s national conditions. The following editorial changes were made to this document. --- Move Appendix A (informative) "References" to after the last appendix; --- Deleted the informative Appendix D. Please note that some of the contents of this document may involve patents. The issuing organization of this document does not assume the responsibility for identifying patents. This document was proposed and coordinated by the National Information Technology Standardization Technical Committee (SAC/TC28). This document was drafted by. China Electronics Technology Standardization Institute, Shandong Provincial Computing Center (National Supercomputing Jinan Center), Huazhong University of Science and Technology University of Science and Technology, Northwestern Polytechnical University, Inspur Electronic Information Industry Co., Ltd., Jiangsu Zhongtian Technology Co., Ltd., Shenzhen Urban Transportation Planning and Design Research Center Co., Ltd., Shanghai Institute of Metrology and Testing Technology, Beijing Xingchen Tianhe Technology Co., Ltd., Huawei Technologies Co., Ltd., Chongqing University of Electronic Science and Technology, Shandong Institute of Economic and Information Development, Shenzhen Meigao Electronic Equipment Co., Ltd. Co., Ltd., Terminus Technology Group Co., Ltd., and Beijing Dongtu Technology Co., Ltd. The main drafters of this document are. Sun Wei, Wu Xiaoming, Yang Hong, Guo Xiong, Li Gang, Su Jingru, Zhou Mingle, Sun Jinyang, Feng Dan, Liu Yang, Ge Yongxin, Cai Tingxiao, He Chuanyong, Zhang Xiao, Zhang Xiaochun, Li Xuesheng, Zhao Xiangyang, Lu Lu, Xie Shuhong, Bai Xinlu, Zhai Mengran, Meng Fanhui, Zhou Hai, Xu Guanglei, Lin Tao, Tong Shihua, Chen Weijie, Wang Haomai, Kan Qian, Lü Lei, Yang Yu, Jiang Ruijing, Cheng Yuan. The previous versions of this document and the documents it replaces are as follows. ---First published in.2000 as GB/T 17966-2000; ---This is the first revision.IntroductionThis document provides rules for performing floating-point operations that produce results independent of the hardware, software, or a combination of hardware and software used to perform the operations. For the operations specified in the normative portion of this document, numerical results and anomalies are uniquely determined by the values of the input data, operation, and target, and are determined by the user. control. This document defines a system that can commercialize binary and decimal floating-point operations. The requirements met by this document include The following content. a) facilitate the migration of existing programs from other types of computers and from computers that partially conform to this document to computers that fully conform to this document; Computer. b) Enhance the compatibility and safety of users and programmers who are not experts in numerical methods when writing complex numerical programs. c) Encourage experts to develop stable and efficient numerical programs that can be ported by simply editing and recompiling on any computer that complies with this document and has sufficient capacity. Combined with language control, this can be achieved on all systems that comply with the standard. The procedure produces the same result. d) Provide direct support for. 1) Execution time anomaly diagnosis; 2) Handle exceptions more smoothly; 3) Implement interval algorithms at reasonable cost. e) Provide conditions for the development of. 1) Common basic functions, such as exp or cos; 2) High-precision (multi-character) operations; 3) Coupled numerical and symbolic algebraic computations. f) Allow rather than exclude further optimization and extension. In the programming context, this document will also serve as a basis for dialogue between the mathematical community and programming language designers. It is hoped that in the coming years A programming language that can control the evaluation of expressions and abnormal results can be introduced so that programs can be written that run on all systems that conform to the standards and However, people realize that practicality and safety are sometimes in opposition in programming languages, just as efficiency and reliability are sometimes in opposition. The same is true for portability. Therefore, programming language designers are expected to use the full set of operations, precision, and exception controls described in this document as a framework to provide programmers with It is also hoped that programming language designers will be able to use this document as a framework to control the ability of expressions and exceptions in a portable manner. Provides extensions in a completely portable manner. Appendix A presents programming environment features for debugging support. Information technology - Microprocessor systems - Floating point operations1 Scope1.1 Regulations This document specifies the format and operating requirements for floating-point operations in computer systems, defines the abnormal conditions for floating-point operations and specifies their handling. Management requirements. This document applies to computer systems that use floating-point numbers for calculations and data exchange. 1.2 Achieving the Goal This document gives a method for performing calculations using floating point numbers, whether performed in hardware, software, or a combination of both. The calculation results are based on the same input data and are the same regardless of the implementation. Regardless of the situation, errors and error conditions in the operation processing will be reported in a consistent manner. 1.3 Inclusion This document specifies the format and operation of floating-point arithmetic in computer systems. This document defines the exception conditions and specifies the responses to these conditions. processing. This document specifies. ---Binary and decimal floating point formats for operations and data exchange; ---Addition, subtraction, multiplication, division, square root, remainder, comparison and other operations; ---Conversion between integers and floating point numbers; ---Conversion between different floating point formats; ---Conversion between floating point format and external string; ---Floating point exceptions and their handling, including the handling of non-number (NaN). 1.4 Not Included This document does not specify. ---Integer format; ---Interpretation of the Not-a-Number (NaN) symbol and valid fields. 1.5 Programming Environment Considerations This document specifies floating-point arithmetic in both binary and decimal bases. The programming environment may conform to either or both bases. This document does not define all aspects of a conforming programming environment. Such behavior should be defined by a programming language that supports this document, if available, or by a The specific implementation is defined. Language-defined behavior is defined by the programming language standard that supports this document. All implementations conform to this document and to the language-defined behavior. A consistent programming language standard. Language standards specify more details about accurately reproducing results than about maximizing platform performance. requirements. Because this document places requirements on facilities not currently found in general-purpose programming languages, unrevised relevant programming language standards may not be If the language can be extended to provide a consistent environment through function libraries or classes or packages, then the extension should define ......Tips & Frequently Asked Questions:Question 1: How long will the true-PDF of GB/T 17966-2024_English be delivered?Answer: Upon your order, we will start to translate GB/T 17966-2024_English as soon as possible, and keep you informed of the progress. The lead time is typically 5 ~ 8 working days. The lengthier the document the longer the lead time.Question 2: Can I share the purchased PDF of GB/T 17966-2024_English with my colleagues?Answer: Yes. The purchased PDF of GB/T 17966-2024_English will be deemed to be sold to your employer/organization who actually pays for it, including your colleagues and your employer's intranet.Question 3: Does the price include tax/VAT?Answer: Yes. Our tax invoice, downloaded/delivered in 9 seconds, includes all tax/VAT and complies with 100+ countries' tax regulations (tax exempted in 100+ countries) -- See Avoidance of Double Taxation Agreements (DTAs): List of DTAs signed between Singapore and 100+ countriesQuestion 4: Do you accept my currency other than USD?Answer: Yes. If you need your currency to be printed on the invoice, please write an email to Sales@ChineseStandard.net. In 2 working-hours, we will create a special link for you to pay in any currencies. Otherwise, follow the normal steps: Add to Cart -- Checkout -- Select your currency to pay.Question 5: Should I purchase the latest version GB/T 17966-2024?Answer: Yes. Unless special scenarios such as technical constraints or academic study, you should always prioritize to purchase the latest version GB/T 17966-2024 even if the enforcement date is in future. Complying with the latest version means that, by default, it also complies with all the earlier versions, technically. |