On Thu, Jul 5, 2012 at 7:23 PM, Nico Williams <n...@cryptonector.com> wrote:
> In the key encoding page you talk about encoding E as a varint, and in > some cases -E as a varint, but the page on varint says they are > unsigned. I assume that "-E" == ~E + 1 (i.e., two's complement of E), > and that ~E == one's complement of E. > Varints encode only non-negative numbers. Those places where you see -E correspond to places where E is negative - numbers between -1.0 and 1.0. Hence -E is non-negative and can be varint encoded. > > Nico > -- > _______________________________________________ > sqlite-users mailing list > sqlite-users@sqlite.org > http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users > -- D. Richard Hipp d...@sqlite.org _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users