SourceForge has been redesigned. Learn more.
Close

#96 Incorrect Subtraction

closed-fixed
property (13)
5
2004-09-15
2004-06-15
No

<math result="b">
<op op="-">
<op op="+">
<num value="4">
<num value="2">
</op>
<num value="2">
</op>
</math>

should set b to 4 instead of -4 -- for some reason,
result of summation is negated

Discussion

  • Matt Inger

    Matt Inger - 2004-06-29
    • assigned_to: nobody --> mattinger
     
  • Matt Inger

    Matt Inger - 2004-09-15
    • status: open --> closed-fixed
     
  • Matt Inger

    Matt Inger - 2004-09-15

    Logged In: YES
    user_id=83032

    please rebuild from CVS, as I have refactored the Math task.
    The implementation did not properly handle operations which
    took both numbers and the results of other operations. I
    have refactored the code to handle this. It will support any
    operation that is part of the java.lang.Math or
    java.lang.StrictMath package.

     

Log in to post a comment.