<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Kas is exactly right, but I'm accustomed to languages that provide a test for negative zero. &nbsp;(On the other hand, I have yet to find compelling reason that I need to do so.)<div><br><div><div>On 28 Feb 2009, at 22:02, Kassen wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Steve;<br><br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d"><br> </div>It's weirdness, but I can't imagine a program in any language I know<br> of actually having trouble parsing -0.0.<br> <br> </blockquote><div><br>Aren't situations like this the reason why we have standards for the representation of floating point numbers? I seem to remember something like that. <br></div></div><br>Ah, here it is;<br><a href="http://en.wikipedia.org/wiki/IEEE_754">http://en.wikipedia.org/wiki/IEEE_754</a><br> <br>Negative zero is a part of that standard. Sticking to that standard, even if it's slightly weird, will probably prevent issues more than cause them, I'd imagine.<br><br>Yours,<br>Kas.<br> _______________________________________________<br>chuck-users mailing list<br><a href="mailto:chuck-users@lists.cs.princeton.edu">chuck-users@lists.cs.princeton.edu</a><br>https://lists.cs.princeton.edu/mailman/listinfo/chuck-users<br></blockquote></div><br></div></body></html>