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 --
11 -- This specification is adapted from the Ada Reference Manual for use with --
12 -- GNAT. In accordance with the copyright of that document, you can freely --
13 -- copy and modify this specification, provided that if you redistribute a --
14 -- modified version, any changes that you have made are clearly indicated. --
16 ------------------------------------------------------------------------------
18 with Ada
.Numerics
.Generic_Complex_Types
;
21 with package Complex_Types
is new Ada
.Numerics
.Generic_Complex_Types
(<>);
23 package Ada
.Wide_Text_IO
.Complex_IO
is
27 Default_Fore
: Field
:= 2;
28 Default_Aft
: Field
:= Real
'Digits - 1;
29 Default_Exp
: Field
:= 3;
34 Width
: in Field
:= 0);
38 Width
: in Field
:= 0);
43 Fore
: in Field
:= Default_Fore
;
44 Aft
: in Field
:= Default_Aft
;
45 Exp
: in Field
:= Default_Exp
);
49 Fore
: in Field
:= Default_Fore
;
50 Aft
: in Field
:= Default_Aft
;
51 Exp
: in Field
:= Default_Exp
);
54 (From
: in Wide_String;
59 (To
: out Wide_String;
61 Aft
: in Field
:= Default_Aft
;
62 Exp
: in Field
:= Default_Exp
);
64 end Ada
.Wide_Text_IO
.Complex_IO
;