blob: a8576f44e19d28a039fa3ee3a95511e758b18085 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#include "type.h"
const struct cer_int cer_int8_t = { .bits = 8, .issigned = 1 };
const struct cer_int cer_uint8_t = { .bits = 8, .issigned = 0 };
const struct cer_int cer_int16_t = { .bits = 16, .issigned = 1 };
const struct cer_int cer_uint16_t = { .bits = 16, .issigned = 0 };
const struct cer_int cer_int32_t = { .bits = 32, .issigned = 1 };
const struct cer_int cer_uint32_t = { .bits = 32, .issigned = 0 };
const struct cer_int cer_int64_t = { .bits = 64, .issigned = 1 };
const struct cer_int cer_uint64_t = { .bits = 64, .issigned = 0 };
const struct cer_int cer_int_t = { .bits = PLATBITS, .issigned = 1 };
const struct cer_int cer_uint_t = { .bits = PLATBITS, .issigned = 0 };
const struct cer_float cer_float32_t = { .bits = 32 };
const struct cer_float cer_float64_t = { .bits = 64 };
|