1 ------------------------------------------------------------------------------
3 -- GNAT COMPILER COMPONENTS --
10 -- Copyright (C) 1997 Free Software Foundation, Inc. --
12 -- GNAT is free software; you can redistribute it and/or modify it under --
13 -- terms of the GNU General Public License as published by the Free Soft- --
14 -- ware Foundation; either version 2, or (at your option) any later ver- --
15 -- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
16 -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
17 -- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License --
18 -- for more details. You should have received a copy of the GNU General --
19 -- Public License distributed with GNAT; see file COPYING. If not, write --
20 -- to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, --
21 -- MA 02111-1307, USA. --
23 -- GNAT was originally developed by the GNAT team at New York University. --
24 -- It is now maintained by Ada Core Technologies Inc (http://www.gnat.com). --
26 ------------------------------------------------------------------------------
28 -- This package contains specialized routines for handling the Alpha
29 -- floating point formats. It is used only in Alpha implementations.
30 -- Note that this means that the caller can assume that we are on an
31 -- Alpha implementation, and that Vax floating-point formats are valid.
33 with Types
; use Types
;
37 procedure Set_D_Float
(E
: Entity_Id
);
38 -- Sets the given floating-point entity to have Vax D_Float format
40 procedure Set_F_Float
(E
: Entity_Id
);
41 -- Sets the given floating-point entity to have Vax F_Float format
43 procedure Set_G_Float
(E
: Entity_Id
);
44 -- Sets the given floating-point entity to have Vax G_Float format
46 procedure Set_IEEE_Short
(E
: Entity_Id
);
47 -- Sets the given floating-point entity to have IEEE Short format
49 procedure Set_IEEE_Long
(E
: Entity_Id
);
50 -- Sets the given floating-point entity to have IEEE Long format
52 procedure Set_Standard_Fpt_Formats
;
53 -- This procedure sets the appropriate formats for the standard
54 -- floating-point types in Standard, based on the setting of
55 -- the flags Opt.Float_Format and Opt.Float_Format_Long