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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [dfp/] [dfp-round.h] - Blame information for rev 298

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 298 jeremybenn
/* 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.  */
4
 
5
#ifdef __DECIMAL_BID_FORMAT__
6
#define FE_DEC_TONEAREST 0
7
#define FE_DEC_DOWNWARD 1
8
#define FE_DEC_UPWARD 2
9
#define FE_DEC_TOWARDZERO 3
10
#define FE_DEC_TONEARESTFROMZERO 4
11
#else
12
#define FE_DEC_DOWNWARD 0
13
#define FE_DEC_TONEAREST 1
14
#define FE_DEC_TONEARESTFROMZERO 2
15
#define FE_DEC_TOWARDZERO 3
16
#define FE_DEC_UPWARD 4
17
#endif
18
 
19
extern void __dfp_set_round (int);
20
#define DFP_SETROUND(M) __dfp_set_round(M)
21
extern int __dfp_get_round (void);
22
#define DFP_GETROUND __dfp_get_round()

powered by: WebSVN 2.1.0

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