Commit 6245a7ee authored by Raymond Hettinger's avatar Raymond Hettinger

Added the \var{} markup so the tables will look good.

parent bd08379a
...@@ -207,14 +207,15 @@ Instance attributes (read-only): ...@@ -207,14 +207,15 @@ Instance attributes (read-only):
Supported operations: Supported operations:
\begin{tableiii}{c|l|c}{code}{Operation}{Result}{Notes} \begin{tableiii}{c|l|c}{code}{Operation}{Result}{Notes}
\lineii{t1 = t2 + t3}{Sum of t2 and t3. \lineii{\var{t1} = \var{t2} + \var{t3}}{Sum of \var{t2} and \var{t3}.
Afterwards t1-t2 == t3 and t1-t3 == t2 are true.}{(1)} Afterwards \var{t1}-\var{t2} == \var{t3} and \var{t1}-\var{t3} == \var{t2} are true.}{(1)}
\lineii{t1 = t2 - t3}{Difference of t2 and t3. Afterwards t1 = t2 - t3 and \lineii{\var{t1} = \var{t2} - \var{t3}}{Difference of \var{t2} and \var{t3}. Afterwards \var{t1} = \var{t2} - \var{t3} and
t2 == t1 + t3 are true.}{(1)} \var{t2} == \var{t1} + \var{t3} are true.}{(1)}
\lineii{t1 = t2 * i or t1 = i * t2}{Delta multiplied by an integer or long. \lineii{\var{t1} = \var{t2} * \var{i} or \var{t1} = \var{i} * \var{t2}}
Afterwards t1 // i == t2 is true, provided i != 0. {Delta multiplied by an integer or long.
In general, t1 * i == t1 * (i-1) + t1 is true.}{(1)} Afterwards \var{t1} // i == \var{t2} is true, provided i != 0.
\lineii{t1 = t2 // i}{The floor is computed and the remainder (if any) is In general, \var{t1} * i == \var{t1} * (i-1) + \var{t1} is true.}{(1)}
\lineii{\var{t1} = \var{t2} // \var{i}}{The floor is computed and the remainder (if any) is
thrown away.}{(2)} thrown away.}{(2)}
\end{tableii} \end{tableii}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment