OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc2/] [gcc/] [ada/] [a-wtcoio.ads] - Diff between revs 281 and 384

Only display areas with differences | Details | Blame | View Log

Rev 281 Rev 384
------------------------------------------------------------------------------
------------------------------------------------------------------------------
--                                                                          --
--                                                                          --
--                         GNAT RUN-TIME COMPONENTS                         --
--                         GNAT RUN-TIME COMPONENTS                         --
--                                                                          --
--                                                                          --
--           A D A . W I D E _ T E X T _ IO . C O M P L E X _ I O           --
--           A D A . W I D E _ T E X T _ IO . C O M P L E X _ I O           --
--                                                                          --
--                                                                          --
--                                 S p e c                                  --
--                                 S p e c                                  --
--                                                                          --
--                                                                          --
-- This specification is derived from the Ada Reference Manual for use with --
-- This specification is derived from the Ada Reference Manual for use with --
-- GNAT.  In accordance with the copyright of that document, you can freely --
-- GNAT.  In accordance with the copyright of that document, you can freely --
-- copy and modify this specification,  provided that if you redistribute a --
-- copy and modify this specification,  provided that if you redistribute a --
-- modified version,  any changes that you have made are clearly indicated. --
-- modified version,  any changes that you have made are clearly indicated. --
--                                                                          --
--                                                                          --
------------------------------------------------------------------------------
------------------------------------------------------------------------------
 
 
with Ada.Numerics.Generic_Complex_Types;
with Ada.Numerics.Generic_Complex_Types;
 
 
generic
generic
   with package Complex_Types is new Ada.Numerics.Generic_Complex_Types (<>);
   with package Complex_Types is new Ada.Numerics.Generic_Complex_Types (<>);
 
 
package Ada.Wide_Text_IO.Complex_IO is
package Ada.Wide_Text_IO.Complex_IO is
 
 
   use Complex_Types;
   use Complex_Types;
 
 
   Default_Fore : Field := 2;
   Default_Fore : Field := 2;
   Default_Aft  : Field := Real'Digits - 1;
   Default_Aft  : Field := Real'Digits - 1;
   Default_Exp  : Field := 3;
   Default_Exp  : Field := 3;
 
 
   procedure Get
   procedure Get
     (File  : File_Type;
     (File  : File_Type;
      Item  : out Complex;
      Item  : out Complex;
      Width : Field := 0);
      Width : Field := 0);
 
 
   procedure Get
   procedure Get
     (Item  : out Complex;
     (Item  : out Complex;
      Width : Field := 0);
      Width : Field := 0);
 
 
   procedure Put
   procedure Put
     (File : File_Type;
     (File : File_Type;
      Item : Complex;
      Item : Complex;
      Fore : Field := Default_Fore;
      Fore : Field := Default_Fore;
      Aft  : Field := Default_Aft;
      Aft  : Field := Default_Aft;
      Exp  : Field := Default_Exp);
      Exp  : Field := Default_Exp);
 
 
   procedure Put
   procedure Put
     (Item : Complex;
     (Item : Complex;
      Fore : Field := Default_Fore;
      Fore : Field := Default_Fore;
      Aft  : Field := Default_Aft;
      Aft  : Field := Default_Aft;
      Exp  : Field := Default_Exp);
      Exp  : Field := Default_Exp);
 
 
   procedure Get
   procedure Get
     (From : Wide_String;
     (From : Wide_String;
      Item : out Complex;
      Item : out Complex;
      Last : out Positive);
      Last : out Positive);
 
 
   procedure Put
   procedure Put
     (To   : out Wide_String;
     (To   : out Wide_String;
      Item : Complex;
      Item : Complex;
      Aft  : Field := Default_Aft;
      Aft  : Field := Default_Aft;
      Exp  : Field := Default_Exp);
      Exp  : Field := Default_Exp);
 
 
end Ada.Wide_Text_IO.Complex_IO;
end Ada.Wide_Text_IO.Complex_IO;
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.