git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@11015 f3b2605a-c512-4ea7-a41b-209d697bcdaa

This commit is contained in:
sjplimp
2013-11-11 16:48:14 +00:00
parent 865e80b4e8
commit 6723f7137a
2 changed files with 12 additions and 0 deletions

View File

@ -415,6 +415,12 @@ precedence. Parenthesis can be used to group one or more portions of
a formula and/or enforce a different order of evaluation than what
would occur with the default precedence.
</P>
<P>IMPORTANT NOTE: Because a unary minus is higher precedence than
exponentiation, the formula "-2^2" will evaluate to 4, not -4. This
convention is compatible with some programming languages, but not
others. This behavior can be overridden with parenthesis; the formula
"-(2^2)" will evaluate to -4.
</P>
<P>The 6 relational operators return either a 1.0 or 0.0 depending on
whether the relationship between x and y is TRUE or FALSE. For
example the expression x<10.0 in an atom-style variable formula will