1------------------------------------------------------------------------------
2--                                                                          --
3--                         GNAT RUN-TIME COMPONENTS                         --
4--                                                                          --
5--                A D A . 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-2009, 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------------------------------------------------------------------------------
31
32--  This package contains the routines for Ada.Text_IO.Float_IO that are
33--  shared among separate instantiations of this package. The routines in
34--  this package are identical semantically to those in Float_IO itself,
35--  except that generic parameter Num has been replaced by Long_Long_Float,
36--  and the default parameters have been removed because they are supplied
37--  explicitly by the calls from within the generic template. This package
38--  is also used by Ada.Text_IO.Fixed_IO, and Ada.Text_IO.Decimal_IO.
39
40private package Ada.Text_IO.Float_Aux is
41
42   procedure Load_Real
43     (File : File_Type;
44      Buf  : out String;
45      Ptr  : in out Natural);
46   --  This is an auxiliary routine that is used to load a possibly signed
47   --  real literal value from the input file into Buf, starting at Ptr + 1.
48
49   procedure Get
50     (File  : File_Type;
51      Item  : out Long_Long_Float;
52      Width : Field);
53
54   procedure Put
55     (File : File_Type;
56      Item : Long_Long_Float;
57      Fore : Field;
58      Aft  : Field;
59      Exp  : Field);
60
61   procedure Gets
62     (From : String;
63      Item : out Long_Long_Float;
64      Last : out Positive);
65
66   procedure Puts
67     (To   : out String;
68      Item : Long_Long_Float;
69      Aft  : Field;
70      Exp  : Field);
71
72end Ada.Text_IO.Float_Aux;
73