#54 Order of operations

None
closed
nobody
5
2015-04-17
2014-06-17
Djax
No

When calculating 1^-1*5; reduce gives the result 1 when it should be 5

Discussion

  • Arthur Norman

    Arthur Norman - 2014-06-17

    It does group oddly, and 1^(-1)*5 behaves differently which may also cause confusion.
    I think we may need to think for a while before doing anything here not so much because the current syntax rules seem odd but because if Reduce has behaved like that for the last 40 years and we change it we could hurt some existing users...
    Arthur

     
  • Rainer Schöpf

    Rainer Schöpf - 2014-07-10
    • labels: --> parser
    • status: open --> closed
    • Group: -->
     
  • Rainer Schöpf

    Rainer Schöpf - 2014-07-10

    Changed parser to disallow ambiguous input

     
  • Rainer Schöpf

    Rainer Schöpf - 2015-04-17
    • labels: parser --> parser, fixed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks