remove empty dir
[ghc-hetmet.git] / rts / gmp / mpz / README
1 This directory contains functions for GMP's integer function layer.
2
3 In this version of GMP, integers are represented like in the figure below.
4 (Please note that the format might change between every version, and that
5 depending on the internal format in any way is a bad idea.)
6
7    most                         least
8 significant                  significant
9    limb                         limb
10
11                                  _mp_d
12                                   /
13                                  /
14                                 \/
15          ____ ____ ____ ____ ____
16         |____|____|____|____|____|
17
18         <------- _mp_size ------->
19
20
21 The most significant limb will be non-zero.  The _mp_size field's sign
22 reflects the sign of the number.  Its absolute value is the count of limbs
23 in the number.