mi32/numtype.h File Reference

<mi32/numtype.h> More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  NUMTYPE {
  NUMTYPE_Invalid = 0, NUMTYPE_MASK_Unsigned = 0x20, NUMTYPE_MASK_Signed = 0x40, NUMTYPE_MASK_Integer = 0x60,
  NUMTYPE_MASK_Float = 0x80, NUMTYPE_UINT8 = (NUMTYPE_MASK_Unsigned|1), NUMTYPE_UINT16 = (NUMTYPE_MASK_Unsigned|2), NUMTYPE_UINT32 = (NUMTYPE_MASK_Unsigned|4),
  NUMTYPE_UINT64 = (NUMTYPE_MASK_Unsigned|8), NUMTYPE_SINT8 = (NUMTYPE_MASK_Signed|1), NUMTYPE_SINT16 = (NUMTYPE_MASK_Signed|2), NUMTYPE_SINT32 = (NUMTYPE_MASK_Signed|4),
  NUMTYPE_SINT64 = (NUMTYPE_MASK_Signed|8), NUMTYPE_FLOAT32 = (NUMTYPE_MASK_Float|4), NUMTYPE_FLOAT64 = (NUMTYPE_MASK_Float|8), NUMTYPE_MASK_Size = 0x1F
}

Detailed Description

<mi32/numtype.h>

Definitions for NUMTYPE values


Enumeration Type Documentation

enum NUMTYPE

Enumeration of numeric types which can be manipulated as a single value in memory by the CPU and can be declared as built-in type in source code.

Enumeration values may be represented as a single byte for storage.

Enumerator:
NUMTYPE_Invalid 

Invalid.

NUMTYPE_MASK_Unsigned 

Mask for unsigned integer.

NUMTYPE_MASK_Signed 

Mask for signed integer.

NUMTYPE_MASK_Integer 

Mask for any integer type.

NUMTYPE_MASK_Float 

Mask for floating-point.

NUMTYPE_UINT8 

Unsigned 8-bit integer.

NUMTYPE_UINT16 

Unsigned 16-bit integer.

NUMTYPE_UINT32 

Unsigned 32-bit integer.

NUMTYPE_UINT64 

Unsigned 64-bit integer.

NUMTYPE_SINT8 

Signed 8-bit integer.

NUMTYPE_SINT16 

Signed 16-bit integer.

NUMTYPE_SINT32 

Signed 32-bit integer.

NUMTYPE_SINT64 

Signed 64-bit integer.

NUMTYPE_FLOAT32 

Floating-point 32-bit.

NUMTYPE_FLOAT64 

Floating-point 64-bit.

NUMTYPE_MASK_Size 

Mask for size in bytes.


Generated on Sun Oct 7 21:27:39 2012 for TNTsdk 2012 by  doxygen 1.6.1