fenv.h 374 B

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