fenv.h 373 B

1234567891011121314151617
  1. #define FE_INVALID 16
  2. #define FE_DIVBYZERO 8
  3. #define FE_OVERFLOW 4
  4. #define FE_UNDERFLOW 2
  5. #define FE_INEXACT 1
  6. #define FE_ALL_EXCEPT 31
  7. #define FE_TONEAREST 0
  8. #define FE_DOWNWARD 2
  9. #define FE_UPWARD 3
  10. #define FE_TOWARDZERO 1
  11. typedef unsigned int fexcept_t;
  12. typedef unsigned int fenv_t;
  13. #define FE_DFL_ENV ((const fenv_t *) -1)