65001/AbMath

Tokenizer Bug

65001 opened this issue · 0 comments

65001 commented

The expression 1/2x currently evaluates to 1 / 2 x * but this is invalid postfix notation.
There are two ways of expressing this expression.

  1. 1 2 / x * ie (1 / 2) * x
  2. 1 2 x * / ie 1 /(2x)