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_INEXACT   FE_INEXACT
#define FE_ALL_EXCEPT   (FE_INEXACT | FE_DIVBYZERO | FE_UNDERFLOW | FE_OVERFLOW | FE_INVALID)
#define FE_TONEAREST   FE_TONEAREST
#define FE_DOWNWARD   FE_DOWNWARD
#define FE_UPWARD   FE_UPWARD
#define FE_TOWARDZERO   FE_TOWARDZERO
#define FE_DFL_ENV   ((__const fenv_t *) -1)

Typedefs

typedef unsigned short int fexcept_t

Enumerations

enum  {
  FE_INVALID = 0x01, FE_INVALID = 0x01, __FE_DENORM = 0x02, FE_DIVBYZERO = 0x04,
  FE_DIVBYZERO = 0x04, FE_OVERFLOW = 0x08, FE_OVERFLOW = 0x08, FE_UNDERFLOW = 0x10,
  FE_UNDERFLOW = 0x10, FE_INEXACT
}
enum  {
  FE_TONEAREST = 0, FE_TONEAREST = 0, FE_DOWNWARD = 0x400, FE_DOWNWARD = 0x400,
  FE_UPWARD = 0x800, FE_UPWARD = 0x800, FE_TOWARDZERO
}

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 41 of file fenv.h.

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

Definition at line 85 of file fenv.h.

#define FE_DIVBYZERO   FE_DIVBYZERO

Definition at line 32 of file fenv.h.

#define FE_DOWNWARD   FE_DOWNWARD

Definition at line 52 of file fenv.h.

#define FE_INEXACT   FE_INEXACT
#define FE_INVALID   FE_INVALID

Definition at line 29 of file fenv.h.

#define FE_OVERFLOW   FE_OVERFLOW

Definition at line 34 of file fenv.h.

#define FE_TONEAREST   FE_TONEAREST

Definition at line 50 of file fenv.h.

#define FE_UNDERFLOW   FE_UNDERFLOW

Definition at line 36 of file fenv.h.

#define FE_UPWARD   FE_UPWARD

Definition at line 54 of file fenv.h.


Typedef Documentation

typedef unsigned short int fexcept_t

Definition at line 61 of file fenv.h.


Enumeration Type Documentation

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

Definition at line 26 of file fenv.h.

  {
    FE_INVALID = 0x01,
#define FE_INVALID   FE_INVALID
    __FE_DENORM = 0x02,
    FE_DIVBYZERO = 0x04,
#define FE_DIVBYZERO FE_DIVBYZERO
    FE_OVERFLOW = 0x08,
#define FE_OVERFLOW  FE_OVERFLOW
    FE_UNDERFLOW = 0x10,
#define FE_UNDERFLOW FE_UNDERFLOW
    FE_INEXACT = 0x20
#define FE_INEXACT   FE_INEXACT
  };
anonymous enum
Enumerator:
FE_TONEAREST 
FE_TONEAREST 
FE_DOWNWARD 
FE_DOWNWARD 
FE_UPWARD 
FE_UPWARD 
FE_TOWARDZERO 

Definition at line 47 of file fenv.h.

  {
    FE_TONEAREST = 0,
#define FE_TONEAREST FE_TONEAREST
    FE_DOWNWARD = 0x400,
#define FE_DOWNWARD  FE_DOWNWARD
    FE_UPWARD = 0x800,
#define FE_UPWARD    FE_UPWARD
    FE_TOWARDZERO = 0xc00
#define FE_TOWARDZERO       FE_TOWARDZERO
  };