• Shopping Cart
    There are no items in your cart

BS ISO/IEC 10967-2:2001

Current

Current

The latest, up-to-date edition.

Information technology. Language independent arithmetic Elementary numerical functions

Available format(s)

Hardcopy , PDF

Language(s)

English

Published date

08-24-2001

US$463.63
Excluding Tax where applicable

Foreword
Introduction
1 Scope
  1.1 Inclusions
  1.2 Exclusions
2 Conformity
3 Normative references
4 Symbols and definitions
  4.1 Symbols
  4.2 Definitions of terms
5 Specifications for integer and floating point
  operations
  5.1 Basic integer operations
  5.2 Basic floating point operations
  5.3 Elementary transcendental floating point
      operations
  5.4 Operations for conversion between numeric
      datatypes
  5.5 Numerals as operations in a programming
      language
6 Notification
  6.1 Continuation values
7 Relationship with language standards
8 Documentation requirements 002
Annex A (normative) - Partial conformity
       A.1 - Maximum error relaxation
       A.2 - Extra accuracy requirements
              relaxation
       A.3 - Relationships to other operations
              relaxation
       A.4 - Very-close-to-axis angular
              normalisation relaxation
       A.5 - Part 1 requirements relaxation
Annex B (informative) - Rationale
       B.1 - Scope
       B.2 - Conformity
       B.3 - Normative references
       B.4 - Symbols and definitions
       B.5 - Specifications for the
              numerical functions
       B.6 - Notification
       B.7 - Relationship with language
              standards
       B.8 - Documentation requirements
Annex C (informative) - Example bindings for specific
                        languages
       C.1 - Ada
       C.2 - BASIC
       C.3 - C
       C.4 - C++
       C.5 - Fortran
       C.6 - Haskell
       C.7 - Java
       C.8 - Common Lisp
       C.9 - ISLisp
       C.10 - Modula-2
       C.11 - Pascal and Extended Pascal
       C.12 - PL/I
       C.13 - SML
Annex D (informative) - Bibliography
Annex E (informative) - Possible changes to part 1

Defines the properties of numerical 000 approximations for many of the real elementary numerical functions available in standard libraries for a variety of programming languages in common use for mathematical and numerical applications.

Committee
IST/5
DevelopmentNote
Supersedes 97/641609 DC (09/2001)
DocumentType
Standard
Pages
190
PublisherName
British Standards Institution
Status
Current
Supersedes

This part of ISO/IEC10967 defines the properties of numerical approximations for many of the real elementary numerical functions available in standard libraries for a variety of programming languages in common use for mathematical and numerical applications. An implementor may choose any combination of hardware and software support to meet the specifications of this part. It is the computing environment, as seen by the programmer/user, that does or does not conform to the specifications. The term implementation (of this part) denotes the total computing environment pertinent to this part, including hardware, language processors, subroutine libraries, exception handling facilities, other software, and documentation. 1.1 Inclusions The specifications of part1 are included by reference in this part. This part provides specifications for numerical functions for which all operand values are of integer or floating point datatypes satisfying the requirements of part1. Boundaries for the occurrence of exceptions and the maximum error allowed are prescribed for each specified operation. Also the result produced by giving a special value operand, such as an infinity, or a NaN, is prescribed for each specified floating point operation. This part covers most numerical functions required by the ISO/IEC standards for Ada [11], Basic [16], C [17], C++[18], Fortran [22], ISLisp [24], Pascal [27], and PL/I [29]. In particular, specifications are provided for: Some additional integer operations. Some additional non-transcendental floating point operations, including maximum and minimum operations. Exponentiations, logarithms, and hyperbolics. Trigonometries, both in radians and for argument-given angular unit with degrees as a special case. This part also provides specifications for: Conversions between integer and floating point datatypes (possibly with different radices) conforming to the requirements of part1, and the conversion operations used, for example, in text input and output of integer and floating point numbers. The results produced by an included floating point operation when one or more argument values are IEC60559 special values. Program-visible parameters that characterise certain aspects of the operations. 1.2 Exclusions This part provides no specifications for Numerical functions whose operands are of more than one datatype (with one exception). This part neither requires nor excludes the presence of such “mixed operand” operations. An interval datatype, or the operations on such data. This part neither requires nor excludes such data or operations. A fixed point datatype, or the operations on such data. This part neither requires nor excludes such data or operations. A rational datatype, or the operations on such data. This part neither requires nor excludes such data or operations. Complex, matrix, statistical, or symbolic operations. This part neither requires nor excludes such data or operations. The properties of arithmetic datatypes that are not related to the numerical process, such as the representation of values on physical media. The properties of integer and floating point datatypes that properly belong in programming language standards or other specifications. Examples include the syntax of numerals and expressions in the programming language, the syntax used for parsed (input) or generated (output) character string forms for numerals by any specific programming language or library, the precedence of operators in the programming language, the presence or absence of automatic datatype coercions, the rules for assignment, parameter passing, and returning value, the consequences of applying an operation to values of improper datatype, or to uninitialised data. Furthermore, this part does not provide specifications for how the operations should be implemented or which algorithms are to be used for the various operations.

Standards Relationship
ISO/IEC 10967-2:2001 Identical

IEC 60559:1989 Binary floating-point arithmetic for microprocessor systems
ISO/IEC 10967-1:2012 Information technology — Language independent arithmetic — Part 1: Integer and floating point arithmetic

Access your standards online with a subscription

Features

  • Simple online access to standards, technical information and regulations.

  • Critical updates of standards and customisable alerts and notifications.

  • Multi-user online standards collection: secure, flexible and cost effective.