Skip to content

Commit

Permalink
feat: Add a section label in the documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
abensonca committed Feb 5, 2025
1 parent a9f3c8e commit 3a68474
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/Coding.tex
Original file line number Diff line number Diff line change
Expand Up @@ -626,7 +626,7 @@ \section{Enumerations}

\input{autoEnumerationDefinitions}

\section{Defined Constants}
\section{Defined Constants}\label{sec:definedConstants}

\glc\ defines numerous constants, including mathematical constants (e.g. $\pi$), physical constants (e.g. the speed of light), unit conversions (e.g. Angstroms to meters), and prefixes (e.g. ``kilo'', ``mega'', etc.). These should be used whenever a constant is needed in the code---it is bad practice to use the numerical value of a constant directly in the code\footnote{Both because it is prone to mistakes (the more times a numerical value is used directly, the more chances there are for typos and other errors), and because using a named constant makes it much easier to understand \emph{what} the code is doing and \emph{why}.}.

Expand Down

0 comments on commit 3a68474

Please sign in to comment.