[Home] [Prev] [Next] [Index]

Annex G - Numerics

Annex G - Numerics

1
The Numerics Annex specifies

2 ·
features for complex arithmetic, including complex I/O;

3 ·
a mode ("strict mode"), in which the predefined arithmetic operations of floating point and fixed point types and the functions and operations of various predefined packages have to provide guaranteed accuracy or conform to other numeric performance requirements, which the Numerics Annex also specifies;

4 ·
a mode ("relaxed mode"), in which no accuracy or other numeric performance requirements need be satisfied, as for implementations not conforming to the Numerics Annex;

5 ·
models of floating point and fixed point arithmetic on which the accuracy requirements of strict mode are based; and

6 ·
the definitions of the model-oriented attributes of floating point types that apply in the strict mode.

Implementation Advice

7
If Fortran (respectively, C) is widely supported in the target environment, implementations supporting the Numerics Annex should provide the child package Interfaces.Fortran (respectively, Interfaces.C) specified in Annex B and should support a convention_identifier of Fortran (respectively, C) in the interfacing pragmas (see ), thus allowing Ada programs to interface with programs written in that language.

Extensions to Ada 83

7.a
This Annex is new to Ada 9X.



[Home] [Prev] [Next] [Index]

documentation@rational.com
Copyright © 1993-1998, Rational Software Corporation.   All rights reserved.