1 ------------------------------------------------------------------------------
3 -- GNAT RUN-TIME 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;
41 Fore
: Field
:= Default_Fore
;
42 Aft
: Field
:= Default_Aft
;
43 Exp
: Field
:= Default_Exp
);
47 Fore
: Field
:= Default_Fore
;
48 Aft
: Field
:= Default_Aft
;
49 Exp
: Field
:= Default_Exp
);
57 (To
: out Wide_String;
59 Aft
: Field
:= Default_Aft
;
60 Exp
: Field
:= Default_Exp
);
62 end Ada
.Wide_Text_IO
.Complex_IO
;