1
0

fenv.h 415 B

1234567891011121314151617181920
  1. #define FE_INEXACT 0x010000
  2. #define FE_UNDERFLOW 0x020000
  3. #define FE_OVERFLOW 0x040000
  4. #define FE_DIVBYZERO 0x080000
  5. #define FE_INVALID 0x100000
  6. #define FE_ALL_EXCEPT 0x1F0000
  7. #define FE_TONEAREST 0x000
  8. #define FE_TOWARDZERO 0x100
  9. #define FE_UPWARD 0x200
  10. #define FE_DOWNWARD 0x300
  11. typedef unsigned fexcept_t;
  12. typedef struct {
  13. unsigned __cw;
  14. } fenv_t;
  15. #define FE_DFL_ENV ((const fenv_t *) -1)