• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #if __HAVE_68881__ || __mcffpu__
2 
3 #define FE_INEXACT    8
4 #define FE_DIVBYZERO  16
5 #define FE_UNDERFLOW  32
6 #define FE_OVERFLOW   64
7 #define FE_INVALID    128
8 
9 #define FE_ALL_EXCEPT 0xf8
10 
11 #define FE_TONEAREST  0
12 #define FE_TOWARDZERO 16
13 #define FE_DOWNWARD   32
14 #define FE_UPWARD     48
15 
16 #else
17 
18 #define FE_ALL_EXCEPT 0
19 #define FE_TONEAREST  0
20 
21 #endif
22 
23 typedef unsigned fexcept_t;
24 
25 typedef struct {
26 	unsigned __control_register, __status_register, __instruction_address;
27 } fenv_t;
28 
29 #define FE_DFL_ENV      ((const fenv_t *) -1)
30