openmp: Fix signed/unsigned warning
[official-gcc.git] / gcc / ada / libgnat / a-wtflau.ads
blob251cb2710c587450e168baeae653ee41b02c0cbc
1 ------------------------------------------------------------------------------
2 -- --
3 -- GNAT RUN-TIME COMPONENTS --
4 -- --
5 -- A D A . W I D E _ T E X T _ I O . F L O A T _ A U X --
6 -- --
7 -- S p e c --
8 -- --
9 -- Copyright (C) 1992-2024, Free Software Foundation, Inc. --
10 -- --
11 -- GNAT is free software; you can redistribute it and/or modify it under --
12 -- terms of the GNU General Public License as published by the Free Soft- --
13 -- ware Foundation; either version 3, or (at your option) any later ver- --
14 -- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
15 -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
16 -- or FITNESS FOR A PARTICULAR PURPOSE. --
17 -- --
18 -- As a special exception under Section 7 of GPL version 3, you are granted --
19 -- additional permissions described in the GCC Runtime Library Exception, --
20 -- version 3.1, as published by the Free Software Foundation. --
21 -- --
22 -- You should have received a copy of the GNU General Public License and --
23 -- a copy of the GCC Runtime Library Exception along with this program; --
24 -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see --
25 -- <http://www.gnu.org/licenses/>. --
26 -- --
27 -- GNAT was originally developed by the GNAT team at New York University. --
28 -- Extensive contributions were provided by Ada Core Technologies Inc. --
29 -- --
30 ------------------------------------------------------------------------------
32 -- This package contains the routines for Ada.Wide_Text_IO.Float_IO that
33 -- are shared among separate instantiations of this package. The routines
34 -- in this package are identical semantically to those in Float_IO, except
35 -- that the default parameters have been removed because they are supplied
36 -- explicitly by the calls from within the generic template. This package
37 -- is also used by Ada.Wide_Text_IO.Fixed_IO and Ada.Wide_Text_IO.Decimal_IO.
39 private generic
41 type Num is digits <>;
43 with function Scan
44 (Str : String;
45 Ptr : not null access Integer;
46 Max : Integer) return Num;
48 with procedure Set_Image
49 (V : Num;
50 S : in out String;
51 P : in out Natural;
52 Fore : Natural;
53 Aft : Natural;
54 Exp : Natural);
56 package Ada.Wide_Text_IO.Float_Aux is
58 procedure Get
59 (File : File_Type;
60 Item : out Num;
61 Width : Field);
63 procedure Put
64 (File : File_Type;
65 Item : Num;
66 Fore : Field;
67 Aft : Field;
68 Exp : Field);
70 procedure Gets
71 (From : String;
72 Item : out Num;
73 Last : out Positive);
75 procedure Puts
76 (To : out String;
77 Item : Num;
78 Aft : Field;
79 Exp : Field);
81 end Ada.Wide_Text_IO.Float_Aux;