term_typedef.h
Include dependency graph for term_typedef.h:
This graph shows which files directly or indirectly include term_typedef.h:
term type definition
This header defines term time and few related macros.
Defines
-
TERM_U_FMT PRIuPTR
-
TERM_X_FMT PRIXPTR
-
TERM_BITS 32
-
TERM_BYTES 4
-
AVM_INT_MIN INT32_MIN
-
AVM_INT_MAX INT32_MAX
-
INT64_IS_ALWAYS_BOXED 1
-
BOXED_TERMS_REQUIRED_FOR_INT 1
-
BOXED_TERMS_REQUIRED_FOR_INT64 2
-
UNICODE_CHAR_MAX 0x10FFFF
-
MIN_NOT_BOXED_INT (AVM_INT_MIN >> 4)
-
MAX_NOT_BOXED_INT (AVM_INT_MAX >> 4)
-
AVM_INT_FMT "%i"
-
AVM_INT64_FMT "%i"
-
AVM_FLOAT_FMT "%lf"
-
INT64_MIN_AS_AVM_FLOAT -9223372036854775808.0
-
INT64_MAX_AS_AVM_FLOAT 9223372036854775808.0
Typedefs
-
typedef uintptr_t term
A value of any data type, types bigger than a machine word will require some additional space on heap.
-
typedef intptr_t avm_int_t
-
typedef uintptr_t avm_uint_t
-
typedef int64_t avm_int64_t
-
typedef uint64_t avm_uint64_t
-
typedef double avm_float_t
Functions
- _Static_assert (sizeof(avm_float_t)==8, "avm_float_t must be a 64-bit float")
-
union float_term_t
- #include <term_typedef.h>