corywalker / expreduce

An experimental computer algebra system written in Go
MIT License
389 stars 27 forks source link

Incorrect priority for the factorial operator #185

Open balthild opened 6 years ago

balthild commented 6 years ago
In[1]:= 3+2+1
Out[1]= 6

In[2]:= 3+2+1!
Out[2]= 720

In[3]:= 3+2+(1!)
Out[3]= 6

In common practice, the factorial operator has a higher priority than infix operators.