When using pgfmathsetmacro with very small of high exponents, it doesn't work. The example below exits by complaining a division by zero. Is there any way to increase the precision that this works or another package which handles this example?
\documentclass{article}
\usepackage{tikz}
\begin{document}
\pgfmathsetmacro{\a}{10e-32}
\pgfmathsetmacro{\b}{10e-30}
\pgfmathsetmacro{\c}{\a/\b}
\c
\pgfmathsetmacro{\c}{1/\b}
\c
\end{document}



pgfmath, which was the OP's choice. – egreg Jun 18 '16 at 20:35