• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #ifdef __mips_soft_float
2 #define FE_ALL_EXCEPT 0
3 #define FE_TONEAREST  0
4 #else
5 #define FE_INEXACT    4
6 #define FE_UNDERFLOW  8
7 #define FE_OVERFLOW   16
8 #define FE_DIVBYZERO  32
9 #define FE_INVALID    64
10 
11 #define FE_ALL_EXCEPT 124
12 
13 #define FE_TONEAREST  0
14 #define FE_TOWARDZERO 1
15 #define FE_UPWARD     2
16 #define FE_DOWNWARD   3
17 #endif
18 
19 typedef unsigned short fexcept_t;
20 
21 typedef struct {
22 	unsigned __cw;
23 } fenv_t;
24 
25 #define FE_DFL_ENV      ((const fenv_t *) -1)
26