Go to the first, previous, next, last section, table of contents.
-
This Annex provides a set of facilities relevant to Information Systems
programming. These fall into several categories:
-
an attribute definition clause specifying Machine_Radix for a decimal
subtype;
-
the package Decimal, which declares a set of constants defining the
implementation's capacity for decimal types, and a generic procedure for
decimal division; and
-
the child packages Text_IO.Editing and Wide_Text_IO.Editing, which
support formatted and localized output of decimal data, based on
"picture String" values.
-
See also: See section 3.5.9 Fixed Point Types, See section 3.5.10 Operations of Fixed Point Types, See section 4.6 Type Conversions,
See section 13.3 Representation Attributes, See section A.10.9 Input-Output for Real Types, See section B.4 Interfacing with COBOL, See section B.3 Interfacing with C, See section G Numerics (normative).
-
The character and string handling packages in See section A Predefined Language Environment (normative), are also relevant for Information Systems.
Implementation Advice
-
If COBOL (respectively, C) is widely supported in the target
environment, implementations supporting the Information Systems Annex
should provide the child package Interfaces.COBOL (respectively,
Interfaces.C) specified in Annex B and should support a
convention_identifier of COBOL (respectively, C) in the interfacing
pragmas, See section B Interface to Other Languages (normative), thus allowing Ada programs to interface with programs
written in that language.
- F.1: Machine_Radix Attribute Definition Clause
- F.2: The Package Decimal
- F.3: Edited Output for Decimal Types
--- The Detailed Node Listing ---
- F.1: Machine_Radix Attribute Definition Clause
- F.2: The Package Decimal
- F.3: Edited Output for Decimal Types
- F.3.1: Picture String Formation
- F.3.2: Edited Output Generation
- F.3.3: The Package Text_IO.Editing
- F.3.4: The Package Wide_Text_IO.Editing
Go to the first, previous, next, last section, table of contents.