[C++] The IN55 project
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

38 lines
815 B

#ifndef __TYPES_H__
#define __TYPES_H__
typedef char int8;
typedef short int16;
typedef int int32;
typedef long long int64;
typedef unsigned char uint8;
typedef unsigned short uint16;
typedef unsigned int uint32;
typedef unsigned long long uint64;
typedef float float32;
typedef double float64;
typedef long double float80;
#define INT8_MIN_VALUE -128
#define INT8_MAX_VALUE 127
#define UINT8_MAX_VALUE 256
#define INT16_MIN_VALUE -32768
#define INT16_MAX_VALUE 32767
#define UINT16_MAX_VALUE 65535
#define INT32_MIN_VALUE -2147483648
#define INT32_MAX_VALUE 2147483647
#define UINT32_MAX_VALUE 4294967295
#define FLOAT32_MIN_VALUE -3.4e+38f
#define FLOAT32_MAX_VALUE 3.4e+38f
#define FLOAT64_MIN_VALUE -1.7e+308
#define FLOAT64_MAX_VALUE 1.7e+308
#endif