News SF.net Project Frequently Asked Questions Documentation Downloads Mailing Lists How to Contribute

SourceForge.net Logo

Changing the way games are made and played.

Basic Compiler Independent Types

Basic Compiler Independent Types


Detailed Description

These types are defined so that we know exactly what we have, sign and bit wise.

The number represents number of bits, the letters represent Signed, Unsigned, or Floating point (implicitly signed).


Typedefs

typedef signed char TNL::S8
 Compiler independent signed char (8bit integer).

typedef unsigned char TNL::U8
 Compiler independent unsigned char (8bit integer).

typedef signed short TNL::S16
 Compiler independent signed 16-bit short integer.

typedef unsigned short TNL::U16
 Compiler independent unsigned 16-bit short integer.

typedef signed int TNL::S32
 Compiler independent signed 32-bit integer.

typedef unsigned int TNL::U32
 Compiler independent unsigned 32-bit integer.

typedef float TNL::F32
 Compiler independent 32-bit float.

typedef double TNL::F64
 Compiler independent 64-bit float.


Typedef Documentation

typedef signed char TNL::S8
 

Compiler independent signed char (8bit integer).

typedef unsigned char TNL::U8
 

Compiler independent unsigned char (8bit integer).

typedef signed short TNL::S16
 

Compiler independent signed 16-bit short integer.

typedef unsigned short TNL::U16
 

Compiler independent unsigned 16-bit short integer.

typedef signed int TNL::S32
 

Compiler independent signed 32-bit integer.

typedef unsigned int TNL::U32
 

Compiler independent unsigned 32-bit integer.

typedef float TNL::F32
 

Compiler independent 32-bit float.

typedef double TNL::F64
 

Compiler independent 64-bit float.