Add hppa-openbsd target
[official-gcc.git] / gcc / ada / urealp.h
blob8326dabd4e3fda1b54cb96c20227c04160cc7519
1 /****************************************************************************
2 * *
3 * GNAT COMPILER COMPONENTS *
4 * *
5 * U R E A L P *
6 * *
7 * C Header File *
8 * *
9 * *
10 * Copyright (C) 1992-2001 Free Software Foundation, Inc. *
11 * *
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. *
22 * *
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). *
25 * *
26 ****************************************************************************/
28 /* This file corresponds to the Ada package specification Urealp. It was
29 created manually from the files urealp.ads and urealp.adb */
31 /* Support for universal real arithmetic. */
33 #define Numerator urealp__numerator
34 extern Uint Numerator PARAMS ((Ureal));
36 #define Denominator urealp__denominator
37 extern Uint Denominator PARAMS ((Ureal));
39 #define Rbase urealp__rbase
40 extern Nat Rbase PARAMS ((Ureal));
42 #define UR_Is_Negative urealp__ur_is_negative
43 extern Boolean UR_Is_Negative PARAMS ((Ureal));
45 #define UR_Is_Zero urealp__ur_is_zero
46 extern Boolean UR_Is_Zero PARAMS ((Ureal));
48 enum Rounding_Mode {Floor = 0, Ceiling = 1, Round = 2, Round_Even = 3};
50 #define Machine eval_fat__machine
51 extern Ureal Machine PARAMS ((Entity_Id, Ureal,
52 enum Rounding_Mode));