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

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


Show the implemented calculation posibilities:

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



\end{document}