author | Olivier Brunel
<jjk@jjacky.com> 2023-02-15 17:47:24 UTC |
committer | Olivier Brunel
<jjk@jjacky.com> 2023-02-15 17:47:24 UTC |
parent | c905c44e36e6a1dc52787567b94238c4a7b54718 |
doc/u64_pack.3.md | +2 | -0 |
doc/uint64_pack_trim.3.md | +2 | -0 |
meta/HISTORY | +23 | -0 |
meta/released-on | +1 | -1 |
meta/version | +1 | -1 |
diff --git a/doc/u64_pack.3.md b/doc/u64_pack.3.md index 1d0652f..01af0b7 100644 --- a/doc/u64_pack.3.md +++ b/doc/u64_pack.3.md @@ -1,5 +1,7 @@ % limb manual % u64_pack(3) +% limb 0.0.3 +% 2023-02-15 # NAME diff --git a/doc/uint64_pack_trim.3.md b/doc/uint64_pack_trim.3.md index 40e599d..380312a 100644 --- a/doc/uint64_pack_trim.3.md +++ b/doc/uint64_pack_trim.3.md @@ -1,5 +1,7 @@ % limb manual % uint64_pack_trim(3) +% limb 0.0.3 +% 2023-02-15 # NAME diff --git a/meta/HISTORY b/meta/HISTORY index a1e01b6..3016e06 100644 --- a/meta/HISTORY +++ b/meta/HISTORY @@ -2,6 +2,29 @@ - Nothing yet. +# version 0.0.3 [released on 2023-02-15] + +- Add uint64_{,un}pack_trim functions to (un)pack an u64 trimming "unneeded" + bits, i.e. all most significant bits set to zero need not be included. + + In other words, it will only use as many bytes as necessary: The value is + stored in little-endian mode using only 7 bits per byte, with the last (most + significant) bit used as indicator whether or not an additional byte is + required. Therefore the encoded number will take from only 1 up to 9 bytes. + + Also define in int.h some u64_* macros for packing/unpacking in little, big + and trim mode, only with a slightly different interface (sce,dst instead of + char*,u64). + + Bumping skalibs dependency to 2.12.0.0 to have new endianness primitives, + notably uint64_littlep() + + +- Switch to objects/deps files put into obj/ + + +- Makefile: Fix not checking out comain's version + # version 0.0.2 [released on 2023-02-03] diff --git a/meta/released-on b/meta/released-on index a0cd9cb..f84b123 100644 --- a/meta/released-on +++ b/meta/released-on @@ -1 +1 @@ -2023-02-03 +2023-02-15 diff --git a/meta/version b/meta/version index 4e379d2..bcab45a 100644 --- a/meta/version +++ b/meta/version @@ -1 +1 @@ -0.0.2 +0.0.3