comparison man/org.texi @ 77203:bcc16ff22a34

(Formula syntax for Calc): Emphasize the operator precedence in Calc.
author Carsten Dominik <dominik@science.uva.nl>
date Sat, 14 Apr 2007 16:17:24 +0000
parents f89ec8cbd4d9
children 88224dc74061
comparison
equal deleted inserted replaced
77202:f36a3ee82d47 77203:bcc16ff22a34
1476 @subsection Formula syntax for Calc 1476 @subsection Formula syntax for Calc
1477 @cindex formula syntax, Calc 1477 @cindex formula syntax, Calc
1478 @cindex syntax, of formulas 1478 @cindex syntax, of formulas
1479 1479
1480 A formula can be any algebraic expression understood by the Emacs 1480 A formula can be any algebraic expression understood by the Emacs
1481 @file{Calc} package. Note that @file{calc} has the slightly 1481 @file{Calc} package. @b{Note that @file{calc} has the
1482 non-standard convention that @samp{/} has lower precedence than 1482 non-standard convention that @samp{/} has lower precedence than
1483 @samp{*}, so that @samp{a/b*c} is interpreted as @samp{a/(b*c)}. Before 1483 @samp{*}, so that @samp{a/b*c} is interpreted as @samp{a/(b*c)}.} Before
1484 evaluation by @code{calc-eval} (@pxref{Calling Calc from 1484 evaluation by @code{calc-eval} (@pxref{Calling Calc from
1485 Your Programs,calc-eval,Calling calc from Your Lisp Programs,calc,GNU 1485 Your Programs,calc-eval,Calling calc from Your Lisp Programs,calc,GNU
1486 Emacs Calc Manual}), 1486 Emacs Calc Manual}),
1487 variable substitution takes place according to the rules described above. 1487 variable substitution takes place according to the rules described above.
1488 @cindex vectors, in table calculations 1488 @cindex vectors, in table calculations