s8 / s16 / s32 / s64 / u8 / u16 / u32 / u64

Syntax

typedef signed char          s8;
typedef signed short        s16;
typedef signed int          s32;
typedef signed long long    s64;
typedef unsigned char        u8;
typedef unsigned short      u16;
typedef unsigned int        u32;
typedef unsigned long long  u64;

Elements

None.

Description

A signed integer can be either a positive or a negative value. A signed integer is in two's complement format. An unsigned integer is always a positive value.

s8 Signed 8-bit integer.
s16 Signed 16-bit integer.
s32 Signed 32-bit integer.
s64 Signed 64-bit integer.
u8 Unsigned 8-bit integer.
u16 Unsigned 16-bit integer.
u32 Unsigned 32-bit integer.
u64 Unsigned 64-bit integer.

See Also

Cafe Core OS (COS) API Functions

Revision History

2014-07-14 Initial draft.


CONFIDENTIAL