Back to index

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

Go to the source code of this file.

Classes

struct  fenv_t

Defines

#define FE_INVALID   FE_INVALID
#define FE_DIVBYZERO   FE_DIVBYZERO
#define FE_OVERFLOW   FE_OVERFLOW
#define FE_UNDERFLOW   FE_UNDERFLOW
#define FE_EXCEPT_SHIFT   16
#define FE_ALL_EXCEPT   (FE_INVALID | FE_DIVBYZERO | FE_OVERFLOW | FE_UNDERFLOW)
#define FE_TONEAREST   0
#define FE_DFL_ENV   ((fenv_t *) -1l)

Typedefs

typedef unsigned long int fexcept_t

Enumerations

enum  {
  FE_INVALID = 1, FE_INVALID = 1, FE_DIVBYZERO = 2, FE_DIVBYZERO = 2,
  FE_OVERFLOW = 4, FE_OVERFLOW = 4, FE_UNDERFLOW = 8, FE_UNDERFLOW = 8
}

Class Documentation

struct fenv_t

Definition at line 48 of file fenv.h.

Class Members
unsigned int __control_register
unsigned short int __control_word
unsigned short int __cs_selector
unsigned long int __cw
unsigned int __cw
unsigned int __data_offset
unsigned short int __data_selector
unsigned int __eip
unsigned int __exception
fexcept_t __excepts
unsigned int __fp_control_register
unsigned int __fpscr
unsigned int __instruction_address
unsigned int __opcode:11
unsigned int __status_register
unsigned short int __status_word
unsigned int __status_word
unsigned short int __tags
unsigned short int __unused1
unsigned short int __unused2
unsigned short int __unused3
unsigned int __unused4:5
unsigned short int __unused5
fexcept_t fpc
void * ieee_instruction_pointer

Define Documentation

Definition at line 40 of file fenv.h.

#define FE_DFL_ENV   ((fenv_t *) -1l)

Definition at line 58 of file fenv.h.

#define FE_DIVBYZERO   FE_DIVBYZERO

Definition at line 29 of file fenv.h.

#define FE_EXCEPT_SHIFT   16

Definition at line 37 of file fenv.h.

#define FE_INVALID   FE_INVALID

Definition at line 27 of file fenv.h.

#define FE_OVERFLOW   FE_OVERFLOW

Definition at line 31 of file fenv.h.

#define FE_TONEAREST   0

Definition at line 45 of file fenv.h.

#define FE_UNDERFLOW   FE_UNDERFLOW

Definition at line 33 of file fenv.h.


Typedef Documentation

typedef unsigned long int fexcept_t

Definition at line 48 of file fenv.h.


Enumeration Type Documentation

anonymous enum
Enumerator:
FE_INVALID 
FE_INVALID 
FE_DIVBYZERO 
FE_DIVBYZERO 
FE_OVERFLOW 
FE_OVERFLOW 
FE_UNDERFLOW 
FE_UNDERFLOW 

Definition at line 24 of file fenv.h.

  {
    FE_INVALID = 1,
#define FE_INVALID FE_INVALID
    FE_DIVBYZERO = 2,
#define FE_DIVBYZERO FE_DIVBYZERO
    FE_OVERFLOW = 4,
#define FE_OVERFLOW FE_OVERFLOW
    FE_UNDERFLOW = 8,
#define FE_UNDERFLOW FE_UNDERFLOW
  };