[−][src]Module iota_ternary_preview::bigint::t243
This module contains logic to convert an integer encoded by 243 trits to the same
integer encoded by 384 bits (or 48 signed bytes, i8
).
At the core of this a slice of binary-coded, balanced trits is interpreted
fanned-out t243
, where t243
is used analogous to i64
or u64
. If the latter
are 64-bit signed/unsigned integer types, then t243
is a 243-trit integer type.
Analogous to fanning out a u64
into 64 individual bits, t243
is fanned out into
243 trits, each (rather inefficiently) represented by one u8
.
Structs
BTRIT_NEG_ONE | |
BTRIT_ONE | |
BTRIT_ZERO | |
T243 | |
UTRIT_ONE | |
UTRIT_TWO | |
UTRIT_U384_MAX | |
UTRIT_U384_MAX_HALF | |
UTRIT_ZERO |
Constants
LEN |