1
0

fenv.h 415 B

12345678910111213141516171819
  1. #define FE_INVALID 1
  2. #define FE_DIVBYZERO 2
  3. #define FE_OVERFLOW 4
  4. #define FE_UNDERFLOW 8
  5. #define FE_INEXACT 16
  6. #define FE_ALL_EXCEPT 31
  7. #define FE_TONEAREST 0
  8. #define FE_DOWNWARD 0x800000
  9. #define FE_UPWARD 0x400000
  10. #define FE_TOWARDZERO 0xc00000
  11. typedef unsigned int fexcept_t;
  12. typedef struct {
  13. unsigned int __fpcr;
  14. unsigned int __fpsr;
  15. } fenv_t;
  16. #define FE_DFL_ENV ((const fenv_t *) -1)