annotate gcc/ada/libgnat/a-wtcoio.ads @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
111
kono
parents:
diff changeset
1 ------------------------------------------------------------------------------
kono
parents:
diff changeset
2 -- --
kono
parents:
diff changeset
3 -- GNAT RUN-TIME COMPONENTS --
kono
parents:
diff changeset
4 -- --
kono
parents:
diff changeset
5 -- A D A . W I D E _ T E X T _ IO . C O M P L E X _ I O --
kono
parents:
diff changeset
6 -- --
kono
parents:
diff changeset
7 -- S p e c --
kono
parents:
diff changeset
8 -- --
kono
parents:
diff changeset
9 -- This specification is derived from the Ada Reference Manual for use with --
kono
parents:
diff changeset
10 -- GNAT. In accordance with the copyright of that document, you can freely --
kono
parents:
diff changeset
11 -- copy and modify this specification, provided that if you redistribute a --
kono
parents:
diff changeset
12 -- modified version, any changes that you have made are clearly indicated. --
kono
parents:
diff changeset
13 -- --
kono
parents:
diff changeset
14 ------------------------------------------------------------------------------
kono
parents:
diff changeset
15
kono
parents:
diff changeset
16 with Ada.Numerics.Generic_Complex_Types;
kono
parents:
diff changeset
17
kono
parents:
diff changeset
18 generic
kono
parents:
diff changeset
19 with package Complex_Types is new Ada.Numerics.Generic_Complex_Types (<>);
kono
parents:
diff changeset
20
kono
parents:
diff changeset
21 package Ada.Wide_Text_IO.Complex_IO is
kono
parents:
diff changeset
22
kono
parents:
diff changeset
23 use Complex_Types;
kono
parents:
diff changeset
24
kono
parents:
diff changeset
25 Default_Fore : Field := 2;
kono
parents:
diff changeset
26 Default_Aft : Field := Real'Digits - 1;
kono
parents:
diff changeset
27 Default_Exp : Field := 3;
kono
parents:
diff changeset
28
kono
parents:
diff changeset
29 procedure Get
kono
parents:
diff changeset
30 (File : File_Type;
kono
parents:
diff changeset
31 Item : out Complex;
kono
parents:
diff changeset
32 Width : Field := 0);
kono
parents:
diff changeset
33
kono
parents:
diff changeset
34 procedure Get
kono
parents:
diff changeset
35 (Item : out Complex;
kono
parents:
diff changeset
36 Width : Field := 0);
kono
parents:
diff changeset
37
kono
parents:
diff changeset
38 procedure Put
kono
parents:
diff changeset
39 (File : File_Type;
kono
parents:
diff changeset
40 Item : Complex;
kono
parents:
diff changeset
41 Fore : Field := Default_Fore;
kono
parents:
diff changeset
42 Aft : Field := Default_Aft;
kono
parents:
diff changeset
43 Exp : Field := Default_Exp);
kono
parents:
diff changeset
44
kono
parents:
diff changeset
45 procedure Put
kono
parents:
diff changeset
46 (Item : Complex;
kono
parents:
diff changeset
47 Fore : Field := Default_Fore;
kono
parents:
diff changeset
48 Aft : Field := Default_Aft;
kono
parents:
diff changeset
49 Exp : Field := Default_Exp);
kono
parents:
diff changeset
50
kono
parents:
diff changeset
51 procedure Get
kono
parents:
diff changeset
52 (From : Wide_String;
kono
parents:
diff changeset
53 Item : out Complex;
kono
parents:
diff changeset
54 Last : out Positive);
kono
parents:
diff changeset
55
kono
parents:
diff changeset
56 procedure Put
kono
parents:
diff changeset
57 (To : out Wide_String;
kono
parents:
diff changeset
58 Item : Complex;
kono
parents:
diff changeset
59 Aft : Field := Default_Aft;
kono
parents:
diff changeset
60 Exp : Field := Default_Exp);
kono
parents:
diff changeset
61
kono
parents:
diff changeset
62 end Ada.Wide_Text_IO.Complex_IO;