<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">%Testing the brclc package and program 08/1999
\documentclass[a4paper,12pt]{article}

\usepackage[latin1]{inputenc} %for UNIX/LINUX
\usepackage[]{brclc}

\pagestyle{plain}

\begin{document}
\begin{center}
\Large
Test of the \verb|brclc| package and the \verb|brclc| program\\
\normalsize
Bernd Radgen Version 0.1 08/1999
\end{center}


Calculating a tabular:

\clc{6:1.95583=} %Euro Faktor

\begin{center}
\begin{tabular}{|c|p{12em}|r|r|r|}
\hline
quantity &amp; marking&amp; single-price &amp;\multicolumn{2}{c|}{all-price}\\
&amp;&amp; (DM)&amp; (DM)&amp; (Euro)\\
\hline
\clc{1:100&gt;.} &amp; nails &amp;\clc{2:0.06&gt;}
&amp;\clc{1:*2:=3:&gt;} \clc{4:+3:=4:}&amp; \clc{3:/6:=&gt;}  \\
\hline
\clc{1:10&gt;.} &amp; planks  &amp;\clc{2:5.65&gt;}
&amp;\clc{1:*2:=3:&gt;} \clc{4:+3:=4:}&amp; \clc{3:/6:=&gt;} \\
\hline
\clc{1:12&gt;.} &amp; small planks  &amp;\clc{2:1.15&gt;}
&amp;\clc{1:*2:=3:&gt;} \clc{4:+3:=4:}&amp; \clc{3:/6:=&gt;}  \\
\hline
\clc{1:3&gt;.} &amp; iron  &amp;\clc{2:8.71&gt;}
&amp;\clc{1:*2:=3:&gt;} \clc{4:+3:=4:}&amp; \clc{3:/6:=&gt;}  \\
\hline
\hline
\multicolumn{3}{|r|}{sum:}&amp;\clc{4:&gt;}  &amp; \clc{4:/6:=&gt;} \\
\hline
\multicolumn{3}{|r|}{15\% tax:}
&amp;\clc{7:100=}\clc{4:/7:=5:}\clc{7:15=}\clc{5:*7:=5:&gt;}
&amp; \clc{5:/6:=&gt;} \\
\hline
\hline
\multicolumn{3}{|r|}{\textbf{sum-total:}}
&amp; \textbf{\clc{4:+5:=7:&gt;}} &amp; \textbf{\clc{7:/6:=&gt;}} \\
\hline
\end{tabular}
\end{center}

Show the output formatting possibilitys:
\begin{center}
\begin{tabular}{|c|l|}
\hline
rounded:&amp;output:\\
\hline
\verb|\clc{1:60.56416&gt;.}|$\;\,$ &amp;\clc{1:60.56416&gt;.}\\
\verb|\clc{1:60.56416&gt;.0}|&amp;\clc{1:60.56416&gt;.0}\\
\verb|\clc{1:60.56416&gt;.1}|&amp;\clc{1:60.56416&gt;.1}\\
\verb|\clc{1:60.56416&gt;.2}|&amp;\clc{1:60.56416&gt;.2}\\
\verb|\clc{1:60.56416&gt;.3}|&amp;\clc{1:60.56416&gt;.3}\\
\verb|\clc{1:60.56416&gt;.4}|&amp;\clc{1:60.56416&gt;.4}\\
$\vdots$&amp;$\quad\vdots$\\
\verb|\clc{1:60.56416&gt;.8}|&amp;\clc{1:60.56416&gt;.8}\\
\hline
\end{tabular}
\end{center}
\begin{center}
\begin{tabular}{|c|l|}
\hline
unrounded:&amp;output:\\
\hline
\verb|\clc{1:60.56416&gt;,}|$\;\,$ &amp;\clc{1:60.56416&gt;,}\\
\verb|\clc{1:60.56416&gt;,0}|&amp;\clc{1:60.56416&gt;,0}\\
\verb|\clc{1:60.56416&gt;,1}|&amp;\clc{1:60.56416&gt;,1}\\
\verb|\clc{1:60.56416&gt;,2}|&amp;\clc{1:60.56416&gt;,2}\\
\verb|\clc{1:60.56416&gt;,3}|&amp;\clc{1:60.56416&gt;,3}\\
\verb|\clc{1:60.56416&gt;,4}|&amp;\clc{1:60.56416&gt;,4}\\
$\vdots$&amp;$\quad\vdots$\\
\verb|\clc{1:60.56416&gt;,8}|&amp;\clc{1:60.56416&gt;,8}\\
\hline
\end{tabular}
\end{center}


Show the implemented calculation posibilities:

\samepage
\begin{center}
\begin{tabular}{|l|l|}
\hline
command:&amp;output:\\
\hline
addition:&amp;\\
\verb|$\clc{1:3&gt;}+\clc{2:2&gt;}=\clc{1:+2:=&gt;.4}$|
&amp;$\clc{1:3&gt;}+\clc{2:2&gt;}=\clc{1:+2:=&gt;}$\\
subtraction:&amp;\\
\verb|$\clc{1:3&gt;}-\clc{2:2&gt;}=\clc{1:-2:=&gt;.4}$|
&amp;$\clc{1:3&gt;}-\clc{2:2&gt;}=\clc{1:-2:=&gt;}$\\
multiplication:&amp;\\
\verb|$\clc{1:3&gt;}*\clc{2:2&gt;}=\clc{1:*2:=&gt;.4}$|
&amp;$\clc{1:3&gt;}*\clc{2:2&gt;}=\clc{1:*2:=&gt;.4}$\\
division:&amp;\\
\verb|$\clc{1:3&gt;}/\clc{2:2&gt;}=\clc{1:/2:=&gt;.4}$|
&amp;$\clc{1:3&gt;}/\clc{2:2&gt;}=\clc{1:/2:=&gt;.4}$\\
\hline
pow:&amp;\\
\verb|$\clc{1:3&gt;}^{\clc{2:2&gt;}}=\clc{1:^2:=&gt;.4}$|
&amp;$\clc{1:3&gt;}^{\clc{2:2&gt;}}=\clc{1:^2:=&gt;.4}$\\
sqrt$^{\ast}$:&amp;\\
\verb|$\clc{1:3&gt;}^{\clc{2:0.5&gt;}}=\clc{1:^2:=&gt;.4}$|
&amp;$\clc{1:3&gt;}^{\clc{2:0.5&gt;}}=\clc{1:^2:=&gt;.4}$\\
exp:&amp;\\
\verb|$\exp\clc{1:3&gt;}=\clc{1:exp=&gt;.4}$|
&amp;$\exp\clc{1:3&gt;}=\clc{1:exp=&gt;.4}$\\
ln:&amp;\\
\verb|$\ln\clc{1:3&gt;}=\clc{1:ln=&gt;.4}$|
&amp;$\ln\clc{1:3&gt;}=\clc{1:ln=&gt;.4}$\\
log:&amp;\\
\verb|$\ln\clc{1:3&gt;}=\clc{1:log=&gt;.4}$|
&amp;$\log\clc{1:3&gt;}=\clc{1:log=&gt;.4}$\\
\hline
sin$^{\ast\ast}$:&amp;\\
\verb|$\sin\clc{1:3&gt;}=\clc{1:sin=&gt;.4}$|
&amp;$\sin\clc{1:3&gt;}=\clc{1:sin=&gt;.4}$\\
cos$^{\ast\ast}$:&amp;\\
\verb|$\cos\clc{1:3&gt;}=\clc{1:cos=&gt;.4}$|
&amp;$\cos\clc{1:3&gt;}=\clc{1:cos=&gt;.4}$\\
tan$^{\ast\ast}$:&amp;\\
\verb|$\tan\clc{1:3&gt;}=\clc{1:tan=&gt;.4}$|
&amp;$\tan\clc{1:3&gt;}=\clc{1:tan=&gt;.4}$\\
asin$^{\ast\ast}$:&amp;\\
\verb|$\arcsin\clc{1:0.3&gt;}=\clc{1:asin=&gt;.4}$|
&amp;$\arcsin\clc{1:0.3&gt;}=\clc{1:asin=&gt;.4}$\\
acos$^{\ast\ast}$:&amp;\\
\verb|$\arccos\clc{1:0.3&gt;}=\clc{1:acos=&gt;.4}$|
&amp;$\arccos\clc{1:0.3&gt;}=\clc{1:acos=&gt;.4}$\\
atan$^{\ast\ast}$:&amp;\\
\verb|$\arctan\clc{1:0.3&gt;}=\clc{1:atan=&gt;.4}$|
&amp;$\arctan\clc{1:0.3&gt;}=\clc{1:atan=&gt;.4}$\\
\hline
\end{tabular}
\end{center}
$^{\ast\;\,}$-sqrt implemented over the pow-function.\\
$^{\ast\ast}$-trigonometric functions in radiant!\\



\end{document}
</pre></body></html>