OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [ada/] [urealp.h] - Blame information for rev 311

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 281 jeremybenn
/****************************************************************************
2
 *                                                                          *
3
 *                         GNAT COMPILER COMPONENTS                         *
4
 *                                                                          *
5
 *                               U R E A L P                                *
6
 *                                                                          *
7
 *                              C Header File                               *
8
 *                                                                          *
9
 *            Copyright (C) 1992-2007, 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.  See the GNU General Public License *
17
 * for  more details.  You should have  received  a copy of the GNU General *
18
 * Public License  distributed with GNAT; see file COPYING3.  If not, go to *
19
 * http://www.gnu.org/licenses for a complete copy of the license.          *
20
 *                                                                          *
21
 * GNAT was originally developed  by the GNAT team at  New York University. *
22
 * Extensive contributions were provided by Ada Core Technologies Inc.      *
23
 *                                                                          *
24
 ****************************************************************************/
25
 
26
/* This file corresponds to the Ada package specification Urealp. It was
27
   created manually from the files urealp.ads and urealp.adb  */
28
 
29
/* Support for universal real arithmetic.  */
30
 
31
#define Numerator urealp__numerator
32
extern Uint Numerator           (Ureal);
33
 
34
#define Denominator urealp__denominator
35
extern Uint Denominator         (Ureal);
36
 
37
#define Rbase urealp__rbase
38
extern Nat Rbase                (Ureal);
39
 
40
#define UR_Is_Negative urealp__ur_is_negative
41
extern Boolean UR_Is_Negative   (Ureal);
42
 
43
#define UR_Is_Zero urealp__ur_is_zero
44
extern Boolean UR_Is_Zero       (Ureal);
45
 
46
enum Rounding_Mode {Floor = 0, Ceiling = 1, Round = 2, Round_Even = 3};
47
 
48
#define Machine eval_fat__machine
49
extern Ureal Machine            (Entity_Id, Ureal, enum Rounding_Mode,
50
                                 Node_Id);

powered by: WebSVN 2.1.0

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