\hypertarget{a08264}{}\section{A\+CG\+:\+:Num\+LimitsT$<$ Scalar $>$ Class Template Reference}
\label{a08264}\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 
\mbox{\Hypertarget{a08264_a897ce4543d38130c15d3098e12b9dd9d}\label{a08264_a897ce4543d38130c15d3098e12b9dd9d}} 
{\footnotesize template$<$$>$ }\\int {\bfseries min} ()
\item 
\mbox{\Hypertarget{a08264_a52f63778f1349cbfffbe03c386f2fafc}\label{a08264_a52f63778f1349cbfffbe03c386f2fafc}} 
{\footnotesize template$<$$>$ }\\int {\bfseries max} ()
\item 
\mbox{\Hypertarget{a08264_afc0dcaf40a46b3f7c79ea1d38e839725}\label{a08264_afc0dcaf40a46b3f7c79ea1d38e839725}} 
{\footnotesize template$<$$>$ }\\float {\bfseries min} ()
\item 
\mbox{\Hypertarget{a08264_ad6ed8207804b77dbcdc70a90ea448afe}\label{a08264_ad6ed8207804b77dbcdc70a90ea448afe}} 
{\footnotesize template$<$$>$ }\\float {\bfseries max} ()
\item 
\mbox{\Hypertarget{a08264_ab34bceb78e1c5be3379774756f23bef4}\label{a08264_ab34bceb78e1c5be3379774756f23bef4}} 
{\footnotesize template$<$$>$ }\\double {\bfseries min} ()
\item 
\mbox{\Hypertarget{a08264_a30eff25c5205380c00dfba23a1956dad}\label{a08264_a30eff25c5205380c00dfba23a1956dad}} 
{\footnotesize template$<$$>$ }\\double {\bfseries max} ()
\end{DoxyCompactItemize}
\subsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a08264_a92fd95a7ca9119962ef45c6597e8bd20}\label{a08264_a92fd95a7ca9119962ef45c6597e8bd20}} 
static Scalar \hyperlink{a08264_a92fd95a7ca9119962ef45c6597e8bd20}{min} ()
\begin{DoxyCompactList}\small\item\em Return the smallest {\itshape absolte} value a scalar type can store. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a08264_a2db505a90be609adf2ffe892efaf5f77}\label{a08264_a2db505a90be609adf2ffe892efaf5f77}} 
static Scalar \hyperlink{a08264_a2db505a90be609adf2ffe892efaf5f77}{max} ()
\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$>$\newline
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{a08264_a92fd95a7ca9119962ef45c6597e8bd20}{ACG::NumLimitsT<float>::min}();
\textcolor{keywordtype}{float} double\_max  = \hyperlink{a08264_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{a08264}{Num\+LimitsT} is just a workaround. 
\end{DoxyNote}


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



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