Numbers i can sext
Keep in mind that I That is, get_max() figures out how many 64-bit words are needed to represent -I (the positive number), and also gives the maximum value that can be represented in so many words.
Words Rep in essence becomes a sub-subtag of the negative bignum.
Atoms are encoded as the atom tag, followed by the string representation of the atom using the binary encoding described above (but without the binary tag).
The integer part is encoded differently depending on the size of the value.Lists are encoded as the list tag, followed by each element in the list individually encoded, followed by the number 2 (1 byte). any corresponding proper list, as long as the improper tail is not a binary (binaries are greater than the missing 'cons', or list, cell). This ensures that it sorts after a corresponding proper list.Improper lists that have a binary or bitstring as 'tail', e.g. A binary is basically a bitstring whose size is a multiple of 8.Copyright 2014 Ulf Wiger Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.