Why does the following code:
\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{math}
\begin{document}
\begin{tikzpicture}
\tikzmath{
coordinate \v;
\v = (cos(pi),sin(pi));
}
\end{tikzpicture}
\end{document}
produce an error? How can I fix this bug?
! Package pgf Error: No shape named `cos(pi' is known.
See the pgf package documentation for explanation.
Type H <return> for immediate help.
...
l.9 }
\v = ({cos(pi)}, {sin(pi)});– Willoughby Mar 18 '23 at 15:53(<angle>:<radius>)(radius could also by xandy radii). – Qrrbrbirlbel Mar 18 '23 at 16:23