1 ------------------------------------------------------------------------------
3 -- GNAT RUNTIME COMPONENTS --
5 -- A D A . W I D E _ T E X T _ IO . C O M P L E X _ I O --
9 -- This specification is adapted from the Ada Reference Manual for use with --
10 -- GNAT. In accordance with the copyright of that document, you can freely --
11 -- copy and modify this specification, provided that if you redistribute a --
12 -- modified version, any changes that you have made are clearly indicated. --
14 ------------------------------------------------------------------------------
16 with Ada
.Numerics
.Generic_Complex_Types
;
19 with package Complex_Types
is new Ada
.Numerics
.Generic_Complex_Types
(<>);
21 package Ada
.Wide_Text_IO
.Complex_IO
is
25 Default_Fore
: Field
:= 2;
26 Default_Aft
: Field
:= Real
'Digits - 1;
27 Default_Exp
: Field
:= 3;
32 Width
: in Field
:= 0);
36 Width
: in Field
:= 0);
41 Fore
: in Field
:= Default_Fore
;
42 Aft
: in Field
:= Default_Aft
;
43 Exp
: in Field
:= Default_Exp
);
47 Fore
: in Field
:= Default_Fore
;
48 Aft
: in Field
:= Default_Aft
;
49 Exp
: in Field
:= Default_Exp
);
52 (From
: in Wide_String;
57 (To
: out Wide_String;
59 Aft
: in Field
:= Default_Aft
;
60 Exp
: in Field
:= Default_Exp
);
62 end Ada
.Wide_Text_IO
.Complex_IO
;