\hypertarget{modsigned_8c}{}\doxysection{src/modsigned.c File Reference}
\label{modsigned_8c}\index{src/modsigned.c@{src/modsigned.c}}
{\ttfamily \#include \char`\"{}modsigned.\+h\char`\"{}}\newline
{\ttfamily \#include $<$stddef.\+h$>$}\newline
Include dependency graph for modsigned.\+c\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=202pt]{modsigned_8c__incl}
\end{center}
\end{figure}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
size\+\_\+t \mbox{\hyperlink{modsigned_8c_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_8c_a6867969c4cc58ccbe2368142a0e2a63e}\label{modsigned_8c_a6867969c4cc58ccbe2368142a0e2a63e}} 
\index{modsigned.c@{modsigned.c}!modSigned@{modSigned}}
\index{modSigned@{modSigned}!modsigned.c@{modsigned.c}}
\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}
