\hypertarget{a00890}{\section{A\+C\+G\+:\+:Num\+Limits\+T$<$ Scalar $>$ Class Template Reference}
\label{a00890}\index{A\+C\+G\+::\+Num\+Limits\+T$<$ Scalar $>$@{A\+C\+G\+::\+Num\+Limits\+T$<$ Scalar $>$}}
}


{\ttfamily \#include $<$A\+C\+G/\+Utils/\+Num\+Limits\+T.\+h$>$}

\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00890_a897ce4543d38130c15d3098e12b9dd9d}{{\footnotesize template$<$$>$ }\\int {\bfseries min} ()}\label{a00890_a897ce4543d38130c15d3098e12b9dd9d}

\item 
\hypertarget{a00890_a52f63778f1349cbfffbe03c386f2fafc}{{\footnotesize template$<$$>$ }\\int {\bfseries max} ()}\label{a00890_a52f63778f1349cbfffbe03c386f2fafc}

\item 
\hypertarget{a00890_afc0dcaf40a46b3f7c79ea1d38e839725}{{\footnotesize template$<$$>$ }\\float {\bfseries min} ()}\label{a00890_afc0dcaf40a46b3f7c79ea1d38e839725}

\item 
\hypertarget{a00890_ad6ed8207804b77dbcdc70a90ea448afe}{{\footnotesize template$<$$>$ }\\float {\bfseries max} ()}\label{a00890_ad6ed8207804b77dbcdc70a90ea448afe}

\item 
\hypertarget{a00890_ab34bceb78e1c5be3379774756f23bef4}{{\footnotesize template$<$$>$ }\\double {\bfseries min} ()}\label{a00890_ab34bceb78e1c5be3379774756f23bef4}

\item 
\hypertarget{a00890_a30eff25c5205380c00dfba23a1956dad}{{\footnotesize template$<$$>$ }\\double {\bfseries max} ()}\label{a00890_a30eff25c5205380c00dfba23a1956dad}

\end{DoxyCompactItemize}
\subsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00890_a92fd95a7ca9119962ef45c6597e8bd20}{static Scalar \hyperlink{a00890_a92fd95a7ca9119962ef45c6597e8bd20}{min} ()}\label{a00890_a92fd95a7ca9119962ef45c6597e8bd20}

\begin{DoxyCompactList}\small\item\em Return the smallest {\itshape absolte} value a scalar type can store. \end{DoxyCompactList}\item 
\hypertarget{a00890_a2db505a90be609adf2ffe892efaf5f77}{static Scalar \hyperlink{a00890_a2db505a90be609adf2ffe892efaf5f77}{max} ()}\label{a00890_a2db505a90be609adf2ffe892efaf5f77}

\begin{DoxyCompactList}\small\item\em Return the maximum {\itshape absolte} value a scalar type can store. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
\subsubsection*{template$<$typename Scalar$>$class A\+C\+G\+::\+Num\+Limits\+T$<$ Scalar $>$}

This class provides the maximum and minimum values a certain scalar type ({\ttfamily int}, {\ttfamily float}, or {\ttfamily double}) can store. You can use it like this\+: 
\begin{DoxyCode}
\textcolor{preprocessor}{#include <ACG/Utils/NumLimitsT.hh>}

\textcolor{keywordtype}{int}   float\_min   = \hyperlink{a00890_a92fd95a7ca9119962ef45c6597e8bd20}{ACG::NumLimitsT<float>::min}();
\textcolor{keywordtype}{float} double\_max  = \hyperlink{a00890_a2db505a90be609adf2ffe892efaf5f77}{ACG::NumLimitsT<double>::max}();
\end{DoxyCode}


\begin{DoxyNote}{Note}
This functionality should be provided by std\+::numeric\+\_\+limits. This template does not exist on gcc $<$= 2.\+95.\+3. The class template \hyperlink{a00890}{Num\+Limits\+T} is just a workaround. 
\end{DoxyNote}


Definition at line 98 of file Num\+Limits\+T.\+hh.



The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
A\+C\+G/\+Utils/Num\+Limits\+T.\+hh\end{DoxyCompactItemize}
