Menu

ncap arithmetic parser bug?

Developers
2005-05-30
2013-10-17
  • Charlie Zender

    Charlie Zender - 2005-05-30

    Hi Henry,

    Please verify that the arithmetic parsing works correctly
    for TODO ncap61. ncap seems to compute the wrong
    value relative to a hand calculator.  Since this is a matter
    of parser correctness, it takes priority over the memory
    cleanup.

    Thanks,
    Charlie

     
    • Nobody/Anonymous

      Hi CHarlie,
      fixed ncap61 -- 

       
      • Charlie Zender

        Charlie Zender - 2005-06-02

        Hi Henry,

        That's great. When we find bugs such as this one that produce
        incorrect, but not obviously incorrect, answers, I like to alert
        users what the scop of the problem was so they can make an
        informed decision on whether to upgrade. What was the
        scope of the problem? Under what circumstances would
        this bug show up?

        Thanks,
        Charlie

         
    • Nobody/Anonymous

      Hi Charlie,
      It is quite a dramatic bug
      Any pow(var1,Var2)  or var1^var2 simply returned var1

      pow(var_xpr,scv_xpr) and pow(scv_xpr,var_xpr) are working fine

      Regards Henry

       

Log in to post a comment.