You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ⁢ before the subscripted | is wrong. It should get added between operands. For sub/superscripts, you should look usually look at the base and see if it is an operand or operator. In this case, | is an operator, so should not add the ⁢.
In various cases, when operators are prefix or postfix, they can act as an operand, but in this case, | acts like a postfix operator and should not be treated as an operand. E.g, in 3!*-4, ! is a postfix operator so that the subexpression to the left of the * is an operand. Similarly, the - (in this case) is a prefix operator, so the subexpression to the right of the * is an operand. Of course, the * is explicit multiplication, so ⁢ doesn't need to be added. However, it would be added in an expression like 3!(-4).
The text was updated successfully, but these errors were encountered:
Description
The MathML for
{x^2}+2x|_{x=3}
is wrong:The
⁢
before the subscripted|
is wrong. It should get added between operands. For sub/superscripts, you should look usually look at the base and see if it is an operand or operator. In this case,|
is an operator, so should not add the⁢
.In various cases, when operators are prefix or postfix, they can act as an operand, but in this case,
|
acts like a postfix operator and should not be treated as an operand. E.g, in3!*-4
,!
is a postfix operator so that the subexpression to the left of the*
is an operand. Similarly, the-
(in this case) is a prefix operator, so the subexpression to the right of the*
is an operand. Of course, the*
is explicit multiplication, so⁢
doesn't need to be added. However, it would be added in an expression like3!(-4)
.The text was updated successfully, but these errors were encountered: