* config/darwin-crt3.c: Avoid compilation when compiling for a
[official-gcc.git] / libdecnumber / decRound.h
blob2a708f8cb17e79a594bef4ba22d1052e539e8bf4
1 /* Internal testing support for rounding for decimal float.
3 Copyright (C) 2006 Free Software Foundation, Inc.
5 This file is part of GCC.
7 GCC is free software; you can redistribute it and/or modify it
8 under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 2, or (at your option)
10 any later version.
12 GCC is distributed in the hope that it will be useful, but WITHOUT
13 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
14 or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
15 License for more details.
17 You should have received a copy of the GNU General Public License
18 along with GCC; see the file COPYING. If not, write to the Free
19 Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA
20 02110-1301, USA. */
22 #include "decContext.h"
24 #define DFP_INIT_ROUNDMODE(A) A = __decGetRound()
26 extern void __dfp_set_round (int);
27 extern int __dfp_get_round (void);
28 extern enum rounding __decGetRound (void);