blob: ebd292689d2be624de2165dec17894c281bc8402 (
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 = struct cer_int { .bits = 8, .issigned = 1 };
const struct cer_int cer_uint8_t = struct cer_int { .bits = 8, .issigned = 0 };
const struct cer_int cer_int16_t = struct cer_int { .bits = 16, .issigned = 1 };
const struct cer_int cer_uint16_t = struct cer_int { .bits = 16, .issigned = 0 };
const struct cer_int cer_int32_t = struct cer_int { .bits = 32, .issigned = 1 };
const struct cer_int cer_uint32_t = struct cer_int { .bits = 32, .issigned = 0 };
const struct cer_int cer_int64_t = struct cer_int { .bits = 64, .issigned = 1 };
const struct cer_int cer_uint64_t = struct cer_int { .bits = 64, .issigned = 0 };
const struct cer_int cer_int_t = struct cer_int { .bits = PLATBITS, .issigned = 1 };
const struct cer_int cer_uint_t = struct cer_int { .bits = PLATBITS, .issigned = 0 };
const struct cer_float cer_float32_t = struct cer_float { .bits = 32 };
const struct cer_float cer_floaf64_t = struct cer_float { .bits = 64 };
|