Negative Zero issues

Jonathan Leto jaleto at gmail.com
Fri Jan 8 20:43:20 UTC 2010


Howdy,

Howdy,

On Fri, Jan 8, 2010 at 11:10 AM, Andrew Whitworth <wknight8111 at gmail.com> wrote:
> I've been trying to do some testing on some "exotic" platforms
> recently, and one issue I am running into consistently is the negative
> zero problem. Several platform/compiler combinations I have tried do
> not seem to have proper negative zero support, which causes parrot to
> fail several tests (several similar tests spread across several test
> files, which I find particularly annoying).

It could be that the tests are incorrect. Unless the test is
specifically checking that a "negative zero" should be the single
correct answer, the test *should* be doing a floating point
comparison.

Which tests are specifically failing?

Duke


-- 
Jonathan "Duke" Leto
jonathan at leto.net
http://leto.net


More information about the parrot-dev mailing list