So we really had no negative VLIs in any documents? I had (mistakenly?) assumed that *all* integers in reload were VLI<br><br>On Sunday, May 22, 2016,  <<a href="mailto:subversion@hamsterrepublic.com">subversion@hamsterrepublic.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">teeemcee<br>
2016-05-22 02:28:28 -0700 (Sun, 22 May 2016)<br>
769<br>
Fix/refactor RELOAD VLI implementation to support negative and 64bit ints; add lots of testcases.<br>
<br>
-Encoding of negative numbers was completely broken due to a typo<br>
 (This typo produced a compiler warning when compiling with -gen gcc!)<br>
 However RELOAD files do not contain negative VLI numbers<br>
-ReadVLI only supported 32 bit ints, returning wrong answer otherwise<br>
 (except in 64 bit builds)<br>
-I have changed the encoding of negative numbers. Now the bitwise<br>
 complement is stored rather than the negation. This allows<br>
 -2^63 to be encoded. No change to the RELOAD version number is necessary.<br>
-Read/WriteVLI were duplicated for two different types of file input/output,<br>
 so I combined them by using macros<br>
-Testcases check that all these functions give expected results.<br>
---<br>
U   wip/reload.bas<br>
U   wip/<a href="http://reload.bi" target="_blank">reload.bi</a><br>
U   wip/reloadtest.bas<br>
_______________________________________________<br>
Ohrrpgce mailing list<br>
<a href="javascript:;" onclick="_e(event, 'cvml', 'ohrrpgce@lists.motherhamster.org')">ohrrpgce@lists.motherhamster.org</a><br>
<a href="http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org" target="_blank">http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org</a><br>
</blockquote>