请输入您要查询的百科知识:

 

词条 ISO/IEC 10967
释义

  1. Parts

     Part 1  Part 2  Part 3 

  2. Bindings

  3. See also

  4. References

  5. External links

{{third-party|date=March 2018}}{{Use British (Oxford) English|date=January 2012}}

ISO/IEC 10967, Language independent arithmetic (LIA), is a series of

standards on computer arithmetic. It is compatible with 2011,

more known as IEEE 754-2008, and much of the

specifications are for IEEE 754 special values

(though such values are not required by LIA itself, unless the parameter iec559 is true).

It was developed by the working group ISO/IEC JTC1/SC22/WG11, which was disbanded in 2011.[1]

LIA currently consists of three parts:

  • Part 1: Integer and floating point arithmetic, second edition published 2012.
  • Part 2: Elementary numerical functions, first edition published 2001.
  • Part 3: Complex integer and floating point arithmetic and complex elementary numerical functions, first edition published 2006.

Parts

Part 1

Part 1 deals with the basic integer and floating point datatypes (for multiple radices, including 2 and 10),

but unlike IEEE 754-2008 not the representation of the values. Part 1 also

deals with basic arithmetic, including comparisons, on values of such

datatypes. The parameter iec559 is expected to be

true for most implementations of LIA-1.

Part 1 was revised, to the second edition, to become more in line with the specifications

in parts 2 and 3.

Part 2

Part 2 deals with some additional "basic" operations on integer and floating point

datatype values, but focuses primarily on specifying requirements on numerical

versions of elementary functions. Much of the specifications in LIA-2 are inspired

by the specifications in Ada for elementary functions.

Part 3

Part 3 generalizes parts 1 and 2 to deal with imaginary and complex

datatypes and arithmetic and elementary functions on such values.

Much of the specifications in LIA-3 are inspired by the specifications

for imaginary and complex datatypes and operations in

C, Ada and

Common Lisp.

Bindings

Each of the parts provide suggested bindings for a number of

programming languages. These are not part of the LIA standards,

just suggestions, and are not complete. Authors of a programming

language standard may wish to alter the suggestions before any

incorporation in the programming language standard.

Currently (2013) the standards for C,

C++, and Modula-2 have partial bindings to LIA-1.

See also

  • IEEE floating point, Standard for Floating-Point Arithmetic
  • ISO/IEC 11404, General purpose datatypes

References

1. ^{{cite web |title=JTC1/SC22/WG11 – Binding Techniques|url=http://www.open-std.org/JTC1/SC22/WG11/ |work=Home page |publisher=ISO/IEC |accessdate=7 June 2017}}

External links

  • ISO/IEC 10967-1:2012, complete text of Part 1: Integer and floating point arithmetic.
  • ISO/IEC 10967-2:2001, complete text of Part 2: Elementary numerical functions.
  • ISO/IEC 10967-3:2006, complete text of Part 3: Complex integer and floating point arithmetic and complex elementary numerical functions.
{{ISO standards}}{{List of International Electrotechnical Commission standards}}{{DEFAULTSORT:ISO IEC 10967}}

2 : Computer arithmetic|ISO/IEC standards

随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/11/15 14:16:38