summaryrefslogtreecommitdiff
path: root/fonts/utilities/fontinst/test/v1916test.tex
blob: 56f26a51b0f68cf015bc1c424a7da4ee9d90d261 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
% v1916test.tex

\input fontinst.sty

% \half and \otherhalf
\fontinstcc
\for(i){-5}{5}{1}
   \eval_expr_to\b_count{\half{\int{i}}}
   \eval_expr{\otherhalf{\int{i}}}
   \immediate\write16{\strint{i}:~\the\b_count \space+~ \the\result}
\endfor(i)
\normalcc

\bye