Back to index

glibc  2.9
Defines | Typedefs | Enumerations
fenv.h File Reference

Go to the source code of this file.

Defines

#define FE_INEXACT   FE_INEXACT
#define FE_UNDERFLOW   FE_UNDERFLOW
#define FE_OVERFLOW   FE_OVERFLOW
#define FE_DIVBYZERO   FE_DIVBYZERO
#define FE_UNNORMAL   FE_UNNORMAL
#define FE_INVALID   FE_INVALID
#define FE_ALL_EXCEPT   FE_ALL_EXCEPT
#define FE_TOWARDZERO   FE_TOWARDZERO
#define FE_UPWARD   FE_UPWARD
#define FE_DOWNWARD   FE_DOWNWARD
#define FE_TONEAREST   FE_TONEAREST
#define FE_DFL_ENV   ((__const fenv_t *) 0xc009804c0270033fUL)

Typedefs

typedef unsigned long int fexcept_t
typedef unsigned long int fenv_t

Enumerations

enum  {
  FE_INEXACT = 1UL << 5, FE_INEXACT = 1UL << 5, FE_UNDERFLOW = 1UL << 4, FE_UNDERFLOW = 1UL << 4,
  FE_OVERFLOW = 1UL << 3, FE_OVERFLOW = 1UL << 3, FE_DIVBYZERO = 1UL << 2, FE_DIVBYZERO = 1UL << 2,
  FE_UNNORMAL = 1UL << 1, FE_UNNORMAL = 1UL << 1, FE_INVALID = 1UL << 0, FE_INVALID = 1UL << 0,
  FE_ALL_EXCEPT
}
enum  {
  FE_TOWARDZERO = 3, FE_TOWARDZERO = 3, FE_UPWARD = 2, FE_UPWARD = 2,
  FE_DOWNWARD = 1, FE_DOWNWARD = 1, FE_TONEAREST = 0, FE_TONEAREST = 0
}

Define Documentation

#define FE_DFL_ENV   ((__const fenv_t *) 0xc009804c0270033fUL)

Definition at line 76 of file fenv.h.

#define FE_DIVBYZERO   FE_DIVBYZERO

Definition at line 39 of file fenv.h.

#define FE_DOWNWARD   FE_DOWNWARD

Definition at line 62 of file fenv.h.

#define FE_INEXACT   FE_INEXACT

Definition at line 30 of file fenv.h.

#define FE_INVALID   FE_INVALID

Definition at line 45 of file fenv.h.

#define FE_OVERFLOW   FE_OVERFLOW

Definition at line 36 of file fenv.h.

#define FE_TONEAREST   FE_TONEAREST

Definition at line 65 of file fenv.h.

Definition at line 56 of file fenv.h.

#define FE_UNDERFLOW   FE_UNDERFLOW

Definition at line 33 of file fenv.h.

#define FE_UNNORMAL   FE_UNNORMAL

Definition at line 42 of file fenv.h.

#define FE_UPWARD   FE_UPWARD

Definition at line 59 of file fenv.h.


Typedef Documentation

typedef unsigned long int fenv_t

Definition at line 73 of file fenv.h.

typedef unsigned long int fexcept_t

Definition at line 70 of file fenv.h.


Enumeration Type Documentation

anonymous enum
Enumerator:
FE_INEXACT 
FE_INEXACT 
FE_UNDERFLOW 
FE_UNDERFLOW 
FE_OVERFLOW 
FE_OVERFLOW 
FE_DIVBYZERO 
FE_DIVBYZERO 
FE_UNNORMAL 
FE_UNNORMAL 
FE_INVALID 
FE_INVALID 
FE_ALL_EXCEPT 

Definition at line 27 of file fenv.h.

  {
    FE_INEXACT =     1UL << 5,
#define FE_INEXACT   FE_INEXACT

    FE_UNDERFLOW =   1UL << 4,
#define FE_UNDERFLOW FE_UNDERFLOW

    FE_OVERFLOW =    1UL << 3,
#define FE_OVERFLOW  FE_OVERFLOW

    FE_DIVBYZERO =   1UL << 2,
#define FE_DIVBYZERO FE_DIVBYZERO

    FE_UNNORMAL =    1UL << 1,
#define FE_UNNORMAL  FE_UNNORMAL

    FE_INVALID =     1UL << 0,
#define FE_INVALID   FE_INVALID

    FE_ALL_EXCEPT =
       (FE_INEXACT | FE_UNDERFLOW | FE_OVERFLOW | FE_DIVBYZERO | FE_UNNORMAL | FE_INVALID)
#define FE_ALL_EXCEPT       FE_ALL_EXCEPT
  };
anonymous enum
Enumerator:
FE_TOWARDZERO 
FE_TOWARDZERO 
FE_UPWARD 
FE_UPWARD 
FE_DOWNWARD 
FE_DOWNWARD 
FE_TONEAREST 
FE_TONEAREST 

Definition at line 53 of file fenv.h.

  {
    FE_TOWARDZERO =  3,
#define FE_TOWARDZERO       FE_TOWARDZERO

    FE_UPWARD =             2,
#define FE_UPWARD    FE_UPWARD

    FE_DOWNWARD =    1,
#define FE_DOWNWARD  FE_DOWNWARD

    FE_TONEAREST =   0,
#define FE_TONEAREST FE_TONEAREST
  };