<br><br><div class="gmail_quote">On Wed, Feb 15, 2012 at 5:32 PM, Joe Hurd <span dir="ltr"><<a href="mailto:joe@gilith.com">joe@gilith.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Ramana,<br>
<br>
I actually went back and forth on this one, and previous versions of<br>
the article format asked for nonnegative integers. All of the<br>
OpenTheory tools I've implemented only write articles with nonnegative<br>
integers (though they should still be able to read articles with<br>
negative integers.<br></blockquote><div><br>Yeah that's the issue: it complicates what proper article readers have to do.<br>Readers I've written would fail to handle negative integers... but I guess I'll wait for such an article to appear before worrying much.<br>
<br></div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
However, I eventually settled on integers just because they're a more<br>
natural(!) concept in programming languages and thus a little easier<br>
to explain in the spec, and the only thing they're used for is a type<br>
of key in the object dictionary.<br>
<br>
Cheers,<br>
<br>
Joe<br>
<div><div class="h5"><br>
On Wed, Feb 15, 2012 at 8:04 AM, Ramana Kumar <<a href="mailto:ramana.kumar@gmail.com">ramana.kumar@gmail.com</a>> wrote:<br>
> Is the virtual machine supposed to be able to process negative numbers?<br>
> The article file format seems to allow a leading "-" for a decimal integer<br>
> command.<br>
> But I don't think any other commands would make use of negative integers; I<br>
> think it's a mistake to allow them.<br>
><br>
><br>
</div></div>> _______________________________________________<br>
> opentheory-users mailing list<br>
> <a href="mailto:opentheory-users@gilith.com">opentheory-users@gilith.com</a><br>
> <a href="http://www.gilith.com/mailman/listinfo/opentheory-users" target="_blank">http://www.gilith.com/mailman/listinfo/opentheory-users</a><br>
><br>
<br>
_______________________________________________<br>
opentheory-users mailing list<br>
<a href="mailto:opentheory-users@gilith.com">opentheory-users@gilith.com</a><br>
<a href="http://www.gilith.com/mailman/listinfo/opentheory-users" target="_blank">http://www.gilith.com/mailman/listinfo/opentheory-users</a><br>
</blockquote></div><br>