On fraction, result depend on times sign (like casio) :
the input / mathprint is correct.
But I found this quite inconsistence.
Hi @homeostasie ! That's a good catch: the way both expressions are parsed is indeed correct but inconsistent.
First of all, I'd like to say that this is not such a big deal though because the mathematical grammar itself is by design ambiguous: 88/2*(1+2) can be understood both as (88/2)*(1+2) or as 88/(2*(1+2)).
I understand your point though: it would be better if both the implicit and explicit multiplications were parsed the same way. To solve this, one would need to make the Bison grammar used in Poincar茅 (our math engine) unambiguous.
I am in favor of making a/bc equal to (a/b)c.
On fraction, result depend on times sign (_like casio_) :
* 88/2(1+2) ) = 14.66 * 88/2*(1+2) = 132the input / mathprint is correct.
But I found this quite inconsistence.
Note that the question holds in the _linear writing format_ only and there is no point in the _natural writing format_.
We have settled on the following:
The examples you provided follow exactly those rules. From this perspective, there is no inconsistency.
If you think that different rules should apply, please feel free to reopen the issue.
Most helpful comment
I am in favor of making a/bc equal to (a/b)c.