Horizon Official Technical Documentation
Definitions.hpp File Reference
#include <cstdint>
+ Include dependency graph for Definitions.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define UINT_MAX   0xffffffff
 
#define UINT8_MIN   ((uint8) UINT8_C(0x00))
 
#define UINT16_MIN   ((uint16) UINT16_C(0x0000))
 
#define UINT32_MIN   ((uint32) UINT32_C(0x00000000))
 
#define UINT64_MIN   ((uint64) UINT64_C(0x0000000000000000))
 
#define UINT8_MAX   ((uint8) UINT8_C(0xFF))
 
#define UINT16_MAX   ((uint16) UINT16_C(0xFFFF))
 
#define UINT32_MAX   ((uint32) UINT32_C(0xFFFFFFFF))
 
#define UINT64_MAX   ((uint64) UINT64_C(0xFFFFFFFFFFFFFFFF))
 
#define SINT8_MIN   ((sint8) INT8_C(0x80))
 
#define SINT16_MIN   ((sint16) INT16_C(0x8000))
 
#define SINT32_MIN   ((sint32) INT32_C(0x80000000))
 
#define SINT64_MIN   ((sint32) INT64_C(0x8000000000000000))
 
#define SINT8_MAX   ((sint8) INT8_C(0x7F))
 
#define SINT16_MAX   ((sint16) INT16_C(0x7FFF))
 
#define SINT32_MAX   ((sint32) INT32_C(0x7FFFFFFF))
 
#define SINT64_MAX   ((sint64) INT64_C(0x7FFFFFFFFFFFFFFF))
 

Typedefs

typedef int64_t int64
 
typedef int32_t int32
 
typedef int16_t int16
 
typedef int8_t int8
 
typedef uint64_t uint64
 
typedef uint32_t uint32
 
typedef uint16_t uint16
 
typedef uint8_t uint8
 

Macro Definition Documentation

◆ SINT16_MAX

#define SINT16_MAX   ((sint16) INT16_C(0x7FFF))

◆ SINT16_MIN

#define SINT16_MIN   ((sint16) INT16_C(0x8000))

◆ SINT32_MAX

#define SINT32_MAX   ((sint32) INT32_C(0x7FFFFFFF))

◆ SINT32_MIN

#define SINT32_MIN   ((sint32) INT32_C(0x80000000))

◆ SINT64_MAX

#define SINT64_MAX   ((sint64) INT64_C(0x7FFFFFFFFFFFFFFF))

◆ SINT64_MIN

#define SINT64_MIN   ((sint32) INT64_C(0x8000000000000000))

◆ SINT8_MAX

#define SINT8_MAX   ((sint8) INT8_C(0x7F))

◆ SINT8_MIN

#define SINT8_MIN   ((sint8) INT8_C(0x80))

◆ UINT16_MAX

#define UINT16_MAX   ((uint16) UINT16_C(0xFFFF))

◆ UINT16_MIN

#define UINT16_MIN   ((uint16) UINT16_C(0x0000))

◆ UINT32_MAX

#define UINT32_MAX   ((uint32) UINT32_C(0xFFFFFFFF))

◆ UINT32_MIN

#define UINT32_MIN   ((uint32) UINT32_C(0x00000000))

◆ UINT64_MAX

#define UINT64_MAX   ((uint64) UINT64_C(0xFFFFFFFFFFFFFFFF))

◆ UINT64_MIN

#define UINT64_MIN   ((uint64) UINT64_C(0x0000000000000000))

◆ UINT8_MAX

#define UINT8_MAX   ((uint8) UINT8_C(0xFF))

◆ UINT8_MIN

#define UINT8_MIN   ((uint8) UINT8_C(0x00))

◆ UINT_MAX

#define UINT_MAX   0xffffffff

Typedef Documentation

◆ int16

typedef int16_t int16

◆ int32

typedef int32_t int32

◆ int64

typedef int64_t int64

◆ int8

typedef int8_t int8

◆ uint16

typedef uint16_t uint16

◆ uint32

typedef uint32_t uint32

◆ uint64

typedef uint64_t uint64

◆ uint8

typedef uint8_t uint8