Skip to content
Snippets Groups Projects
Verified Commit 76f186fa authored by Houtan Bastani's avatar Houtan Bastani
Browse files

doc: modify macro processor casting examples

parent 618bf7c9
No related branches found
No related tags found
No related merge requests found
...@@ -151,11 +151,11 @@ ...@@ -151,11 +151,11 @@
\end{itemize} \end{itemize}
\item Variables/literals of the types listed above can be cast to other types \item Variables/literals of the types listed above can be cast to other types
\begin{itemize} \begin{itemize}
\item \texttt{(bool) 3.9} $\rightarrow$ \texttt{true} \item \texttt{(bool) -1 \&\& (bool) 2} $\rightarrow$ \texttt{true}
\item \texttt{(double) ``3.9''} $\rightarrow$ \texttt{3.9} \item \texttt{(double) ``3.1''} $\rightarrow$ \texttt{3.1}
\item \texttt{(array) 3.9} $\rightarrow$ \texttt{[3.9]} \item \texttt{(array) 4} $\rightarrow$ \texttt{[4]}
\item \texttt{(double) [3.9]} $\rightarrow$ \texttt{3.9} \item \texttt{(double) [5]} $\rightarrow$ \texttt{5}
\item \texttt{(double) [3.9, 3]} $\rightarrow$ \texttt{error} \item \texttt{(double) [6, 7]} $\rightarrow$ \texttt{error}
\end{itemize} \end{itemize}
\end{itemize} \end{itemize}
\end{frame} \end{frame}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment