Any valid operand, number, or variable can be placed in a math command. Also, math commands can either affect data, (i.e., x={x x mul}) or be used as input on plotl commands (i.e., xmin { pi 2 div }).
Nested math commands are not allowed. That is, anything that looks like {{something}} is invalid.