\subsection{nearestint}
\label{labnearestint}
\noindent Name: \textbf{nearestint}\\
\phantom{aaa}the function mapping the reals to the integers nearest to them.\\[0.2cm]
\noindent Library names:\\
\verb|   sollya_obj_t sollya_lib_nearestint(sollya_obj_t)|\\
\verb|   sollya_obj_t sollya_lib_build_function_nearestint(sollya_obj_t)|\\
\verb|   #define SOLLYA_NEARESTINT(x) sollya_lib_build_function_nearestint(x)|\\[0.2cm]
\noindent Description: \begin{itemize}

\item \textbf{nearestint} is defined as usual: \textbf{nearestint}($x$) is the integer nearest to $x$, with the
   special rule that the even integer is chosen if there exist two integers equally near to $x$.

\item It is defined for every real number $x$.
\end{itemize}
See also: \textbf{ceil} (\ref{labceil}), \textbf{floor} (\ref{labfloor}), \textbf{round} (\ref{labround}), \textbf{RN} (\ref{labrn})
