#define CMO_ZZ 20
We describe the bignum (multi-precision integer) representation CMO_ZZ in OpenXM. The format is similar to that in GNU MP. (cf. plugin/cmo-gmp.c in the kan/sm1 distribution). CMO_ZZ is defined as follows.
int32 CMO_ZZ | int32 ![]() |
int32 ![]() |
![]() |
int32 ![]() |
is a 32bit integer.
are unsigned 32bit integers.
is equal to
.
The sign of
represents that of the above integer to be expressed.
As stated in Section
2, a negative 32bit integer is represented by
two's complement.
In OpenXM the above CMO represents the following integer. (.)
Example:
If we express int32 by the network byte order,
a CMO_ZZ is expressed by
Note that CMO_ZZ 0 is expressed by (CMO_ZZ, 00,00,00,00).