Back to index

glibc  2.9
Defines
values.h File Reference
#include <features.h>
#include <limits.h>
#include <float.h>

Go to the source code of this file.

Defines

#define _TYPEBITS(type)   (sizeof (type) * CHAR_BIT)
#define CHARBITS   _TYPEBITS (char)
#define SHORTBITS   _TYPEBITS (short int)
#define INTBITS   _TYPEBITS (int)
#define LONGBITS   _TYPEBITS (long int)
#define PTRBITS   _TYPEBITS (char *)
#define DOUBLEBITS   _TYPEBITS (double)
#define FLOATBITS   _TYPEBITS (float)
#define MINSHORT   SHRT_MIN
#define MININT   INT_MIN
#define MINLONG   LONG_MIN
#define MAXSHORT   SHRT_MAX
#define MAXINT   INT_MAX
#define MAXLONG   LONG_MAX
#define HIBITS   MINSHORT
#define HIBITL   MINLONG
#define MAXDOUBLE   DBL_MAX
#define MAXFLOAT   FLT_MAX
#define MINDOUBLE   DBL_MIN
#define MINFLOAT   FLT_MIN
#define DMINEXP   DBL_MIN_EXP
#define FMINEXP   FLT_MIN_EXP
#define DMAXEXP   DBL_MAX_EXP
#define FMAXEXP   FLT_MAX_EXP
#define BITSPERBYTE   CHAR_BIT

Define Documentation

#define _TYPEBITS (   type)    (sizeof (type) * CHAR_BIT)

Definition at line 30 of file values.h.

#define BITSPERBYTE   CHAR_BIT

Definition at line 66 of file values.h.

#define CHARBITS   _TYPEBITS (char)

Definition at line 32 of file values.h.

#define DMAXEXP   DBL_MAX_EXP

Definition at line 60 of file values.h.

#define DMINEXP   DBL_MIN_EXP

Definition at line 58 of file values.h.

#define DOUBLEBITS   _TYPEBITS (double)

Definition at line 37 of file values.h.

#define FLOATBITS   _TYPEBITS (float)

Definition at line 38 of file values.h.

#define FMAXEXP   FLT_MAX_EXP

Definition at line 61 of file values.h.

#define FMINEXP   FLT_MIN_EXP

Definition at line 59 of file values.h.

#define HIBITL   MINLONG

Definition at line 49 of file values.h.

#define HIBITS   MINSHORT

Definition at line 48 of file values.h.

#define INTBITS   _TYPEBITS (int)

Definition at line 34 of file values.h.

#define LONGBITS   _TYPEBITS (long int)

Definition at line 35 of file values.h.

#define MAXDOUBLE   DBL_MAX

Definition at line 54 of file values.h.

#define MAXFLOAT   FLT_MAX

Definition at line 55 of file values.h.

#define MAXINT   INT_MAX

Definition at line 45 of file values.h.

#define MAXLONG   LONG_MAX

Definition at line 46 of file values.h.

#define MAXSHORT   SHRT_MAX

Definition at line 44 of file values.h.

#define MINDOUBLE   DBL_MIN

Definition at line 56 of file values.h.

#define MINFLOAT   FLT_MIN

Definition at line 57 of file values.h.

#define MININT   INT_MIN

Definition at line 41 of file values.h.

#define MINLONG   LONG_MIN

Definition at line 42 of file values.h.

#define MINSHORT   SHRT_MIN

Definition at line 40 of file values.h.

#define PTRBITS   _TYPEBITS (char *)

Definition at line 36 of file values.h.

#define SHORTBITS   _TYPEBITS (short int)

Definition at line 33 of file values.h.