\hypertarget{modsigned_8h}{}\doxysection{inc/modsigned.h File Reference}
\label{modsigned_8h}\index{inc/modsigned.h@{inc/modsigned.h}}
{\ttfamily \#include $<$stddef.\+h$>$}\newline
Include dependency graph for modsigned.\+h\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=177pt]{modsigned_8h__incl}
\end{center}
\end{figure}
This graph shows which files directly or indirectly include this file\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{modsigned_8h__dep__incl}
\end{center}
\end{figure}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
size\+\_\+t \mbox{\hyperlink{modsigned_8h_a6867969c4cc58ccbe2368142a0e2a63e}{mod\+Signed}} (int value, size\+\_\+t Array\+Length)
\begin{DoxyCompactList}\small\item\em Computes the modulus of a signed integer with respect to an array length. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Function Documentation}
\mbox{\Hypertarget{modsigned_8h_a6867969c4cc58ccbe2368142a0e2a63e}\label{modsigned_8h_a6867969c4cc58ccbe2368142a0e2a63e}} 
\index{modsigned.h@{modsigned.h}!modSigned@{modSigned}}
\index{modSigned@{modSigned}!modsigned.h@{modsigned.h}}
\doxysubsubsection{\texorpdfstring{modSigned()}{modSigned()}}
{\footnotesize\ttfamily size\+\_\+t mod\+Signed (\begin{DoxyParamCaption}\item[{int}]{value,  }\item[{size\+\_\+t}]{Array\+Length }\end{DoxyParamCaption})}



Computes the modulus of a signed integer with respect to an array length. 


\begin{DoxyItemize}
\item This function takes a signed integer value and an array length, and returns the modulus of the value with respect to the array length. The result is always a non-\/negative integer that falls within the range of valid indices for the array.
\end{DoxyItemize}


\begin{DoxyParams}{Parameters}
{\em value} & The signed integer value to be modded. \\
\hline
{\em Array\+Length} & The length of the array, which must be greater than 0. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The modulus of the value with respect to the array length, as a size\+\_\+t. 
\end{DoxyReturn}
