MFMv2.0.10
Movable Feast Machine Simulator 2.0.10
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Macros | Typedefs
itype.h File Reference
#include <inttypes.h>

Go to the source code of this file.

Macros

#define S8_MAX   ((s8)127)
 
#define S8_MIN   ((s8)-128)
 
#define S16_MAX   ((s16)32767)
 
#define S16_MIN   ((s16)-32768)
 
#define S32_MAX   ((s32)2147483647)
 
#define S32_MIN   ((s32)2147483648UL)
 
#define S64_MAX   ((((s64)0x7fffffff)<<32)|0xffffffff)
 
#define S64_MIN   ((((s64)0x80000000)<<32))
 
#define U8_MAX   ((u8)255)
 
#define U8_MIN   ((u8)0)
 
#define U16_MAX   ((u16)65535U)
 
#define U16_MIN   ((u16)0)
 
#define U32_MAX   ((u32)4294967295UL)
 
#define U32_MIN   ((u32)0)
 
#define U64_MAX   ((((u64)0xffffffff)<<32)|0xffffffff)
 
#define U64_MIN   ((u64)0LL)
 

Typedefs

typedef int8_t MFM::s8
 
typedef int16_t MFM::s16
 
typedef int32_t MFM::s32
 
typedef int64_t MFM::s64
 
typedef intptr_t MFM::sptr
 
typedef const int8_t MFM::sc8
 
typedef const int16_t MFM::sc16
 
typedef const int32_t MFM::sc32
 
typedef const int64_t MFM::sc64
 
typedef const intptr_t MFM::scptr
 
typedef volatile int8_t MFM::sv8
 
typedef volatile int16_t MFM::sv16
 
typedef volatile int32_t MFM::sv32
 
typedef volatile int64_t MFM::sv64
 
typedef volatile intptr_t MFM::svptr
 
typedef volatile const int8_t MFM::svc8
 
typedef volatile const int16_t MFM::svc16
 
typedef volatile const int32_t MFM::svc32
 
typedef volatile const int64_t MFM::svc64
 
typedef volatile const intptr_t MFM::svcptr
 
typedef uint8_t MFM::u8
 
typedef uint16_t MFM::u16
 
typedef uint32_t MFM::u32
 
typedef uint64_t MFM::u64
 
typedef uintptr_t MFM::uptr
 
typedef const uint8_t MFM::uc8
 
typedef const uint16_t MFM::uc16
 
typedef const uint32_t MFM::uc32
 
typedef const uint64_t MFM::uc64
 
typedef const uintptr_t MFM::ucptr
 
typedef volatile uint8_t MFM::uv8
 
typedef volatile uint16_t MFM::uv16
 
typedef volatile uint32_t MFM::uv32
 
typedef volatile uint64_t MFM::uv64
 
typedef volatile uintptr_t MFM::uvptr
 
typedef volatile const uint8_t MFM::uvc8
 
typedef volatile const uint16_t MFM::uvc16
 
typedef volatile const uint32_t MFM::uvc32
 
typedef volatile const uint64_t MFM::uvc64
 
typedef volatile const uintptr_t MFM::uvcptr
 

Detailed Description

Short names for sized ints, and limits

Author
David H. Ackley.
Date
(C) 2014 All rights reserved.
Code License:
LGPL
License Note:
All code samples shown in documentation are placed into the public domain.

Macro Definition Documentation

#define S16_MAX   ((s16)32767)

Maximum value of signed 16 bit

#define S16_MIN   ((s16)-32768)

Minimum value of signed 16 bit

#define S32_MAX   ((s32)2147483647)

Maximum value of signed 32 bit

#define S32_MIN   ((s32)2147483648UL)

Minimum value of signed 32 bit

#define S64_MAX   ((((s64)0x7fffffff)<<32)|0xffffffff)

Maximum value of signed 64 bit

#define S64_MIN   ((((s64)0x80000000)<<32))

Minimum value of signed 64 bit

#define S8_MAX   ((s8)127)

Maximum value of signed 8 bit

#define S8_MIN   ((s8)-128)

Minimum value of signed 8 bit

#define U16_MAX   ((u16)65535U)

Maximum value of unsigned 16 bit

#define U16_MIN   ((u16)0)

Minimum value of unsigned 16 bit

#define U32_MAX   ((u32)4294967295UL)

Maximum value of unsigned 32 bit

#define U32_MIN   ((u32)0)

Minimum value of unsigned 32 bit

#define U64_MAX   ((((u64)0xffffffff)<<32)|0xffffffff)

Maximum value of unsigned 64 bit

#define U64_MIN   ((u64)0LL)

Minimum value of unsigned 64 bit

#define U8_MAX   ((u8)255)

Maximum value of unsigned 8 bit

#define U8_MIN   ((u8)0)

Minimum value of unsigned 8 bit