At 9:39 PM +0000 12/27/02, Michael Joyce (via RT) wrote:
The core parrot op neg() allows zero to become negative. That shouldn't
happen. I've attached a patch to this email that corrects the problem by
testing if neg() was passed a value of zero. I've also attached a patch that
adds a new test to make sure that zero cannot become negative.
Applied, with a bit of twidding on the int case. (And I'm not sure the check is actually necessary, but...)
--
Dan

--------------------------------------"it's like this"-------------------
Dan Sugalski even samurai
[EMAIL PROTECTED] have teddy bears and even
teddy bears get drunk


Reply via email to