changed: the program uses TTMath 0.8.0 now added: functions: from TTMath 0.8.0: DegToDeg(deg, min, sec), DegToRad(deg), DegToRad(deg, min, sec), RadToDeg(rad), Ceil(x), Floor(x), Sqrt(x), Sinh(x), Cosh(x), Tanh(x) /Tgh(x)/, Coth(x) /Ctgh(x)/ added: a help changed: from TTMath 0.8.0: renamed: CTan() into Cot() or Ctg() renamed: ACTan() into ACot() or ACtg() Factorial() has a history log now (it can remember last 10 calculated values) added: a directory 'help' with files of the help added: a directory 'setup' with files needed to make an installer (we're using InnoSetup Compiler to make it) fixed: the vertical size of the main window when a user uses a different size of the window caption (especially under the Windows XP Luna) fixed: on Windows 9x: the program hung when a user clicks on a control on the first tab (the procedure SetNextFocus(...) has been completely rewritten and the flag WS_EX_CONTROLPARENT on the tab dialogs has gone away) fixed: when started navigating from the keyboard the program showed a wrong variable or a funtion in the edit dialog git-svn-id: svn://ttmath.org/publicrep/ttcalc/trunk@28 e52654a7-88a9-db11-a3e9-0013d4bc506e
35 lines
1.3 KiB
HTML
35 lines
1.3 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<title>TTCalc - operators priority</title>
|
|
<link rel="stylesheet" href="styles.css" type="text/css">
|
|
<object type="application/x-oleobject" classid="clsid:1e2a7bd0-dab9-11d0-b93a-00c04fc99f9e">
|
|
<param name="Keyword" value="operators priority">
|
|
</object>
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<h1>Operators Priority</h1>
|
|
|
|
<p>Below is a list of operators priority. At the top are operators with higher precedence.</p>
|
|
|
|
<table>
|
|
<thead>
|
|
<tr><td>Operator</td><td>Description</td><td>Sample</td></tr>
|
|
</thead>
|
|
<tr><td>( )</td><td>parentheses for grouping an expression</td><td>(1+3)*4</td></tr>
|
|
<tr><td>- + # &</td><td>unary minus and plus, and operators for changing the base (radix)</td><td>-10</td></tr>
|
|
<tr><td>^</td><td>powering</td><td>3^2</td></tr>
|
|
<tr><td>* /</td><td>multiplication and division</td><td>10*20</td></tr>
|
|
<tr><td>+ -</td><td>addition and subtraction</td><td>10-30</td></tr>
|
|
<tr><td>== != < > <= >=</td><td>comparative operators</td><td>4<5</td></tr>
|
|
<tr><td>&&</td><td>logical and</td><td>3>2 && 3<10</td></tr>
|
|
<tr><td>||</td><td>logical or</td><td>3>2 || 3<10</td></tr>
|
|
</table>
|
|
|
|
</body>
|
|
</html>
|