The Fung-Calc recognizes several functions, operators, and constants. Following is a complete description of each of these.
Expressions can be created using the following operators in this order of precedence:
expressions in parentheses first
exponentiation (A raised to the power B)
multiplication, division and modulo
addition and subtraction
comparison between A and B (result is either 0 or 1)
Note that the '=' comparison can be inaccurate due to floating point precision problems (eg. "sqrt(100)=10" probably returns 0, not 1).
result is 1 if int(A) and int(B) differ from 0, else 0.
result is 1 if int(A) or int(B) differ from 0, else 0.