46#include <TargConfig.h>
51#include <BaConfigTypes.h>
57#if CHAR_BIT != 8 || FLT_RADIX != 2 || FLT_MANT_DIG != 24 || DBL_MANT_DIG != 53 || FLT_MAX_EXP != 128 || DBL_MAX_EXP != 1024
58#error BAS requires 8-bit bytes, binary32 float and binary64 double
60typedef char BaFloatSizeCheck[
sizeof(float) == 4 ? 1 : -1];
61typedef char BaDoubleSizeCheck[
sizeof(double) == 8 ? 1 : -1];
65#pragma diag_suppress=Pa084
66#pragma diag_suppress=Pa089
67#pragma diag_suppress=Pa181
68#pragma diag_suppress=Pe188
69#pragma diag_suppress=Pe546
70#pragma diag_suppress=Pe550
127#define S64_getMsw(o) ((S32)(0xFFFFFFFF & ((o) >> 32) ))
129#if BA_FILE_OFFSET_BITS == 64
147#define iStrlen(s) ((int)strlen(s))
uint16_t U16
Unsigned 16-bit integer.
Definition: GenPrimT.h:94
int64_t S64
Signed 64-bit integer.
Definition: GenPrimT.h:90
uint64_t U64
Unsigned 64-bit integer.
Definition: GenPrimT.h:98
S32 SBaFileSize
Signed file-size value in bytes; 32 bits with BA_FILE_OFFSET_BITS=32.
Definition: GenPrimT.h:141
int32_t S32
Signed 32-bit integer.
Definition: GenPrimT.h:88
S64 BaTime
An arithmetic type representing calendar time with epoch of 1970-01-01 00:00:00 UTC,...
Definition: GenPrimT.h:106
uint32_t U32
Unsigned 32-bit integer.
Definition: GenPrimT.h:96
int16_t S16
Signed 16-bit integer.
Definition: GenPrimT.h:86
uint8_t U8
Unsigned 8-bit integer.
Definition: GenPrimT.h:92
U8 BaBool
Boolean stored in an unsigned byte; FALSE is zero and TRUE is one.
Definition: GenPrimT.h:121
int8_t S8
Signed 8-bit integer.
Definition: GenPrimT.h:84
U32 BaFileSize
Unsigned file size or position in bytes; 32 bits with BA_FILE_OFFSET_BITS=32.
Definition: GenPrimT.h:139
UTC timestamp with a fractional second and an explicit timezone offset.
Definition: GenPrimT.h:111
S16 offset
Minutes east of UTC, from -1439 to 1439; negative values are west.
Definition: GenPrimT.h:117
BaTime sec
Signed seconds since 1970-01-01 00:00:00 UTC, independent of offset.
Definition: GenPrimT.h:113
S32 nsec
Nanoseconds, valid range: 0 to 999999999.
Definition: GenPrimT.h:115