Merge from mainline
[official-gcc.git] / gcc / testsuite / gcc.dg / dfp / dfp-round.h
blob63a72cc95d5d168f9f0297b2c7fd3814b85d2795
1 /* This is very temporary; right now it gets functions in libgcc that
2 pass on the rounding mode to decNumber, but later it can be replaced
3 with Official Stuff. */
5 #define FE_DEC_DOWNWARD 0
6 #define FE_DEC_TONEAREST 1
7 #define FE_DEC_TONEARESTFROMZERO 2
8 #define FE_DEC_TOWARDZERO 3
9 #define FE_DEC_UPWARD 4
11 extern void __dfp_set_round (int);
12 #define DFP_SETROUND(M) __dfp_set_round(M)
13 extern int __dfp_get_round (void);
14 #define DFP_GETROUND __dfp_get_round()