prim_type.h File Reference

Basic type definitions used in Sphinx. More...

`#include <sphinx_config.h>`

Go to the source code of this file.

## Data Structures

union | anytype_s
| Union of basic types. More...

## Macros

#define | __BIGSTACKVARIABLE__
#define | TRUE 1
#define | FALSE 0
#define | NULL (void *)0
#define | MAX_INT32 ((int32) 0x7fffffff)
#define | MAX_INT16 ((int16) 0x00007fff)
#define | MAX_INT8 ((int8) 0x0000007f)
#define | MAX_NEG_INT32 ((int32) 0x80000000)
#define | MAX_NEG_INT16 ((int16) 0xffff8000)
#define | MAX_NEG_INT8 ((int8) 0xffffff80)
#define | MAX_UINT32 ((uint32) 0xffffffff)
#define | MAX_UINT16 ((uint16) 0x0000ffff)
#define | MAX_UINT8 ((uint8) 0x000000ff)
#define | MAX_POS_FLOAT32 3.4e+38f
#define | MIN_POS_FLOAT32 1.2e-38f /* But not 0 */
#define | MAX_POS_FLOAT64 1.8e+307
#define | MIN_POS_FLOAT64 2.2e-308
#define | MAX_IEEE_NORM_POS_FLOAT32 3.4e+38f
#define | MIN_IEEE_NORM_POS_FLOAT32 1.2e-38f
#define | MIN_IEEE_NORM_NEG_FLOAT32 -3.4e+38f
#define | MAX_IEEE_NORM_POS_FLOAT64 1.8e+307
#define | MIN_IEEE_NORM_POS_FLOAT64 2.2e-308
#define | MIN_IEEE_NORM_NEG_FLOAT64 -1.8e+307
#define | MIN_NEG_FLOAT32 ((float32) (-MIN_POS_FLOAT32))
#define | MIN_NEG_FLOAT64 ((float64) (-MIN_POS_FLOAT64))

## Typedefs

typedef union anytype_s | anytype_t
| Union of basic types.
typedef int | int32
typedef short | int16
typedef signed char | int8
typedef unsigned int | uint32
typedef unsigned short | uint16
typedef unsigned char | uint8
typedef float | float32
typedef double | float64
typedef double | int64
typedef double | uint64

## Detailed Description

Basic type definitions used in Sphinx.

Definition in file prim_type.h.

## Macro Definition Documentation

## __BIGSTACKVARIABLE__

#define __BIGSTACKVARIABLE__

Definition at line 101 of file prim_type.h.

## FALSE

#define FALSE 0

Definition at line 140 of file prim_type.h.

## MAX_IEEE_NORM_POS_FLOAT32

#define MAX_IEEE_NORM_POS_FLOAT32 3.4e+38f

Definition at line 167 of file prim_type.h.

## MAX_IEEE_NORM_POS_FLOAT64

#define MAX_IEEE_NORM_POS_FLOAT64 1.8e+307

Definition at line 170 of file prim_type.h.

## MAX_INT16

#define MAX_INT16 ((int16) 0x00007fff)

Definition at line 150 of file prim_type.h.

## MAX_INT32

#define MAX_INT32 ((int32) 0x7fffffff)

Definition at line 149 of file prim_type.h.

## MAX_INT8

#define MAX_INT8 ((int8) 0x0000007f)

Definition at line 151 of file prim_type.h.

## MAX_NEG_INT16

#define MAX_NEG_INT16 ((int16) 0xffff8000)

Definition at line 154 of file prim_type.h.

## MAX_NEG_INT32

#define MAX_NEG_INT32 ((int32) 0x80000000)

Definition at line 153 of file prim_type.h.

## MAX_NEG_INT8

#define MAX_NEG_INT8 ((int8) 0xffffff80)

Definition at line 155 of file prim_type.h.

## MAX_POS_FLOAT32

#define MAX_POS_FLOAT32 3.4e+38f

Definition at line 162 of file prim_type.h.

## MAX_POS_FLOAT64

#define MAX_POS_FLOAT64 1.8e+307

Definition at line 164 of file prim_type.h.

## MAX_UINT16

#define MAX_UINT16 ((uint16) 0x0000ffff)

Definition at line 158 of file prim_type.h.

## MAX_UINT32

#define MAX_UINT32 ((uint32) 0xffffffff)

Definition at line 157 of file prim_type.h.

## MAX_UINT8

#define MAX_UINT8 ((uint8) 0x000000ff)

Definition at line 159 of file prim_type.h.

## MIN_IEEE_NORM_NEG_FLOAT32

#define MIN_IEEE_NORM_NEG_FLOAT32 -3.4e+38f

Definition at line 169 of file prim_type.h.

## MIN_IEEE_NORM_NEG_FLOAT64

#define MIN_IEEE_NORM_NEG_FLOAT64 -1.8e+307

Definition at line 172 of file prim_type.h.

## MIN_IEEE_NORM_POS_FLOAT32

#define MIN_IEEE_NORM_POS_FLOAT32 1.2e-38f

Definition at line 168 of file prim_type.h.

## MIN_IEEE_NORM_POS_FLOAT64

#define MIN_IEEE_NORM_POS_FLOAT64 2.2e-308

Definition at line 171 of file prim_type.h.

## MIN_NEG_FLOAT32

#define MIN_NEG_FLOAT32 ((float32) (-MIN_POS_FLOAT32))

Definition at line 175 of file prim_type.h.

## MIN_NEG_FLOAT64

#define MIN_NEG_FLOAT64 ((float64) (-MIN_POS_FLOAT64))

Definition at line 176 of file prim_type.h.

## MIN_POS_FLOAT32

#define MIN_POS_FLOAT32 1.2e-38f /* But not 0 */

Definition at line 163 of file prim_type.h.

## MIN_POS_FLOAT64

#define MIN_POS_FLOAT64 2.2e-308

Definition at line 165 of file prim_type.h.

## NULL

#define NULL (void *)0

Definition at line 144 of file prim_type.h.

## TRUE

#define TRUE 1

Definition at line 137 of file prim_type.h.

## Typedef Documentation

## float32

typedef float float32

Definition at line 123 of file prim_type.h.

## float64

typedef double float64

Definition at line 124 of file prim_type.h.

## int16

typedef short int16

Definition at line 118 of file prim_type.h.

## int32

typedef int int32

Definition at line 117 of file prim_type.h.

## int64

typedef double int64

Definition at line 132 of file prim_type.h.

## int8

typedef signed char int8

Definition at line 119 of file prim_type.h.

## uint16

typedef unsigned short uint16

Definition at line 121 of file prim_type.h.

## uint32

typedef unsigned int uint32

Definition at line 120 of file prim_type.h.

## uint64

typedef double uint64

Definition at line 133 of file prim_type.h.

## uint8

typedef unsigned char uint8

Definition at line 122 of file prim_type.h.