home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-dist / gnat-2.06-src.tgz / tar.out / fsf / gnat / ada / a-tiflau.ads < prev    next >
Text File  |  1996-09-28  |  3KB  |  67 lines

  1. ------------------------------------------------------------------------------
  2. --                                                                          --
  3. --                         GNAT RUNTIME 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. --                            $Revision: 1.2 $                              --
  10. --                                                                          --
  11. --        Copyright (c) 1992,1993,1994,1995 NYU, All Rights Reserved        --
  12. --                                                                          --
  13. -- The GNAT library is free software; you can redistribute it and/or modify --
  14. -- it under terms of the GNU Library General Public License as published by --
  15. -- the Free Software  Foundation; either version 2, or (at your option) any --
  16. -- later version.  The GNAT library is distributed in the hope that it will --
  17. -- be useful, but WITHOUT ANY WARRANTY;  without even  the implied warranty --
  18. -- of MERCHANTABILITY  or  FITNESS FOR  A PARTICULAR PURPOSE.  See the  GNU --
  19. -- Library  General  Public  License for  more  details.  You  should  have --
  20. -- received  a copy of the GNU  Library  General Public License  along with --
  21. -- the GNAT library;  see the file  COPYING.LIB.  If not, write to the Free --
  22. -- Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.        --
  23. --                                                                          --
  24. ------------------------------------------------------------------------------
  25.  
  26. --  This package contains the routines for Ada.Text_IO.Float_IO that are
  27. --  shared among separate instantiations of this package. The routines in
  28. --  this package are identical semantically to those in Float_IO itself,
  29. --  except that generic parameter Num has been replaced by Long_Long_Float,
  30. --  and the default parameters have been removed because they are supplied
  31. --  explicitly by the calls from within the generic template. This package
  32. --  is also used by Ada.Text_IO.Fixed_IO, and Ada.Text_IO.Decimal_IO.
  33.  
  34. private package Ada.Text_IO.Float_Aux is
  35.  
  36.    procedure Load_Real
  37.      (File : in File_Type;
  38.       Buf  : out String;
  39.       Ptr  : in out Natural);
  40.    --  This is an auxiliary routine that is used to load a possibly signed
  41.    --  real literal value from the input file into Buf, starting at Ptr + 1.
  42.  
  43.    procedure Get
  44.      (File  : in File_Type;
  45.       Item  : out Long_Long_Float;
  46.       Width : in Field);
  47.  
  48.    procedure Put
  49.      (File : in File_Type;
  50.       Item : in Long_Long_Float;
  51.       Fore : in Field;
  52.       Aft  : in Field;
  53.       Exp  : in Field);
  54.  
  55.    procedure Gets
  56.      (From : in String;
  57.       Item : out Long_Long_Float;
  58.       Last : out Positive);
  59.  
  60.    procedure Puts
  61.      (To   : out String;
  62.       Item : in Long_Long_Float;
  63.       Aft  : in Field;
  64.       Exp  : in Field);
  65.  
  66. end Ada.Text_IO.Float_Aux;
  67.