VSF Documented
Macros | Typedefs | Enumerations
type.h File Reference
#include <uchar.h>
#include "../__common/__type.h"

Go to the source code of this file.

Macros

#define INT8_MIN   (-127i8 - 1)
 
#define INT16_MIN   (-32767i16 - 1)
 
#define INT32_MIN   (-2147483647i32 - 1)
 
#define INT8_MAX   127i8
 
#define INT16_MAX   32767i16
 
#define INT32_MAX   2147483647i32
 
#define UINT8_MAX   0xffui8
 
#define UINT16_MAX   0xffffui16
 
#define UINT32_MAX   0xffffffffui32
 
#define INT_LEAST8_MIN   INT8_MIN
 
#define INT_LEAST16_MIN   INT16_MIN
 
#define INT_LEAST32_MIN   INT32_MIN
 
#define INT_LEAST8_MAX   INT8_MAX
 
#define INT_LEAST16_MAX   INT16_MAX
 
#define INT_LEAST32_MAX   INT32_MAX
 
#define UINT_LEAST8_MAX   UINT8_MAX
 
#define UINT_LEAST16_MAX   UINT16_MAX
 
#define UINT_LEAST32_MAX   UINT32_MAX
 
#define INT_FAST8_MIN   INT8_MIN
 
#define INT_FAST16_MIN   INT32_MIN
 
#define INT_FAST32_MIN   INT32_MIN
 
#define INT_FAST8_MAX   INT8_MAX
 
#define INT_FAST16_MAX   INT32_MAX
 
#define INT_FAST32_MAX   INT32_MAX
 
#define UINT_FAST8_MAX   UINT8_MAX
 
#define UINT_FAST16_MAX   UINT32_MAX
 
#define UINT_FAST32_MAX   UINT32_MAX
 
#define INTPTR_MIN   INT32_MIN
 
#define INTPTR_MAX   INT32_MAX
 
#define INTMAX_MIN   INT32_MIN
 
#define INTMAX_MAX   INT32_MAX
 
#define UINTMAX_MAX   UINT32_MAX
 
#define PTRDIFF_MIN   INTPTR_MIN
 
#define PTRDIFF_MAX   INTPTR_MAX
 
#define WCHAR_MIN   0x0000
 
#define WCHAR_MAX   0xffff
 
#define SIZE_MAX   UINTPTR_MAX
 
#define __optimal_bit_sz   (sizeof(uintalu_t) * 8)
 
#define __optimal_bit_msk   (__optimal_bit_sz - 1)
 

Typedefs

typedef unsigned char uint8_t
 
typedef signed char int8_t
 
typedef unsigned char uint_fast8_t
 
typedef signed char int_fast8_t
 
typedef unsigned short uint16_t
 
typedef signed short int16_t
 
typedef unsigned short uint_fast16_t
 
typedef signed short int_fast16_t
 
typedef unsigned long int uint32_t
 
typedef signed long int int32_t
 
typedef unsigned long int uint_fast32_t
 
typedef signed long int int_fast32_t
 
typedef unsigned short uint_least16_t
 
typedef signed short int_least16_t typedef unsigned long int uint_least32_t
 
typedef signed long int int_least32_t typedef uint32_t uintptr_t
 
typedef int32_t intptr_t
 
typedef uint32_t uintmax_t
 
typedef int32_t intmax_t
 
typedef uint_fast8_t uintalu_t
 
typedef int_fast8_t intalu_t
 

Enumerations

enum  bool {
  false = 0 ,
  true = !false
}
 

Macro Definition Documentation

◆ INT8_MIN

#define INT8_MIN   (-127i8 - 1)

◆ INT16_MIN

#define INT16_MIN   (-32767i16 - 1)

◆ INT32_MIN

#define INT32_MIN   (-2147483647i32 - 1)

◆ INT8_MAX

#define INT8_MAX   127i8

◆ INT16_MAX

#define INT16_MAX   32767i16

◆ INT32_MAX

#define INT32_MAX   2147483647i32

◆ UINT8_MAX

#define UINT8_MAX   0xffui8

◆ UINT16_MAX

#define UINT16_MAX   0xffffui16

◆ UINT32_MAX

#define UINT32_MAX   0xffffffffui32

◆ INT_LEAST8_MIN

#define INT_LEAST8_MIN   INT8_MIN

◆ INT_LEAST16_MIN

#define INT_LEAST16_MIN   INT16_MIN

◆ INT_LEAST32_MIN

#define INT_LEAST32_MIN   INT32_MIN

◆ INT_LEAST8_MAX

#define INT_LEAST8_MAX   INT8_MAX

◆ INT_LEAST16_MAX

#define INT_LEAST16_MAX   INT16_MAX

◆ INT_LEAST32_MAX

#define INT_LEAST32_MAX   INT32_MAX

◆ UINT_LEAST8_MAX

#define UINT_LEAST8_MAX   UINT8_MAX

◆ UINT_LEAST16_MAX

#define UINT_LEAST16_MAX   UINT16_MAX

◆ UINT_LEAST32_MAX

#define UINT_LEAST32_MAX   UINT32_MAX

◆ INT_FAST8_MIN

#define INT_FAST8_MIN   INT8_MIN

◆ INT_FAST16_MIN

#define INT_FAST16_MIN   INT32_MIN

◆ INT_FAST32_MIN

#define INT_FAST32_MIN   INT32_MIN

◆ INT_FAST8_MAX

#define INT_FAST8_MAX   INT8_MAX

◆ INT_FAST16_MAX

#define INT_FAST16_MAX   INT32_MAX

◆ INT_FAST32_MAX

#define INT_FAST32_MAX   INT32_MAX

◆ UINT_FAST8_MAX

#define UINT_FAST8_MAX   UINT8_MAX

◆ UINT_FAST16_MAX

#define UINT_FAST16_MAX   UINT32_MAX

◆ UINT_FAST32_MAX

#define UINT_FAST32_MAX   UINT32_MAX

◆ INTPTR_MIN

#define INTPTR_MIN   INT32_MIN

◆ INTPTR_MAX

#define INTPTR_MAX   INT32_MAX

◆ INTMAX_MIN

#define INTMAX_MIN   INT32_MIN

◆ INTMAX_MAX

#define INTMAX_MAX   INT32_MAX

◆ UINTMAX_MAX

#define UINTMAX_MAX   UINT32_MAX

◆ PTRDIFF_MIN

#define PTRDIFF_MIN   INTPTR_MIN

◆ PTRDIFF_MAX

#define PTRDIFF_MAX   INTPTR_MAX

◆ WCHAR_MIN

#define WCHAR_MIN   0x0000

◆ WCHAR_MAX

#define WCHAR_MAX   0xffff

◆ SIZE_MAX

#define SIZE_MAX   UINTPTR_MAX

◆ __optimal_bit_sz

#define __optimal_bit_sz   (sizeof(uintalu_t) * 8)

◆ __optimal_bit_msk

#define __optimal_bit_msk   (__optimal_bit_sz - 1)

Typedef Documentation

◆ uint8_t

typedef unsigned char uint8_t

◆ int8_t

typedef signed char int8_t

◆ uint_fast8_t

typedef unsigned char uint_fast8_t

◆ int_fast8_t

typedef signed char int_fast8_t

◆ uint16_t

typedef unsigned short uint16_t

◆ int16_t

typedef signed short int16_t

◆ uint_fast16_t

typedef unsigned short uint_fast16_t

◆ int_fast16_t

typedef signed short int_fast16_t

◆ uint32_t

typedef unsigned long int uint32_t

◆ int32_t

typedef signed long int int32_t

◆ uint_fast32_t

typedef unsigned long int uint_fast32_t

◆ int_fast32_t

typedef signed long int int_fast32_t

◆ uint_least16_t

typedef unsigned short uint_least16_t

◆ uint_least32_t

typedef signed short int_least16_t typedef unsigned long int uint_least32_t

◆ uintptr_t

typedef signed long int int_least32_t typedef uint32_t uintptr_t

◆ intptr_t

typedef int32_t intptr_t

◆ uintmax_t

◆ intmax_t

typedef int32_t intmax_t

◆ uintalu_t

◆ intalu_t

Enumeration Type Documentation

◆ bool

enum bool
Enumerator
false 
true