\hypertarget{classACG_1_1NumLimitsT}{}\section{A\+CG\+:\+:Num\+LimitsT$<$ Scalar $>$ Class Template Reference}
\label{classACG_1_1NumLimitsT}\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{classACG_1_1NumLimitsT_a897ce4543d38130c15d3098e12b9dd9d}\label{classACG_1_1NumLimitsT_a897ce4543d38130c15d3098e12b9dd9d}} 
{\footnotesize template$<$$>$ }\\int {\bfseries min} ()
\item 
\mbox{\Hypertarget{classACG_1_1NumLimitsT_a52f63778f1349cbfffbe03c386f2fafc}\label{classACG_1_1NumLimitsT_a52f63778f1349cbfffbe03c386f2fafc}} 
{\footnotesize template$<$$>$ }\\int {\bfseries max} ()
\item 
\mbox{\Hypertarget{classACG_1_1NumLimitsT_afc0dcaf40a46b3f7c79ea1d38e839725}\label{classACG_1_1NumLimitsT_afc0dcaf40a46b3f7c79ea1d38e839725}} 
{\footnotesize template$<$$>$ }\\float {\bfseries min} ()
\item 
\mbox{\Hypertarget{classACG_1_1NumLimitsT_ad6ed8207804b77dbcdc70a90ea448afe}\label{classACG_1_1NumLimitsT_ad6ed8207804b77dbcdc70a90ea448afe}} 
{\footnotesize template$<$$>$ }\\float {\bfseries max} ()
\item 
\mbox{\Hypertarget{classACG_1_1NumLimitsT_ab34bceb78e1c5be3379774756f23bef4}\label{classACG_1_1NumLimitsT_ab34bceb78e1c5be3379774756f23bef4}} 
{\footnotesize template$<$$>$ }\\double {\bfseries min} ()
\item 
\mbox{\Hypertarget{classACG_1_1NumLimitsT_a30eff25c5205380c00dfba23a1956dad}\label{classACG_1_1NumLimitsT_a30eff25c5205380c00dfba23a1956dad}} 
{\footnotesize template$<$$>$ }\\double {\bfseries max} ()
\end{DoxyCompactItemize}
\subsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classACG_1_1NumLimitsT_a92fd95a7ca9119962ef45c6597e8bd20}\label{classACG_1_1NumLimitsT_a92fd95a7ca9119962ef45c6597e8bd20}} 
static Scalar \hyperlink{classACG_1_1NumLimitsT_a92fd95a7ca9119962ef45c6597e8bd20}{min} ()
\begin{DoxyCompactList}\small\item\em Return the smallest {\itshape absolte} value a scalar type can store. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classACG_1_1NumLimitsT_a2db505a90be609adf2ffe892efaf5f77}\label{classACG_1_1NumLimitsT_a2db505a90be609adf2ffe892efaf5f77}} 
static Scalar \hyperlink{classACG_1_1NumLimitsT_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{classACG_1_1NumLimitsT_a92fd95a7ca9119962ef45c6597e8bd20}{ACG::NumLimitsT<float>::min}();
\textcolor{keywordtype}{float} double\_max  = \hyperlink{classACG_1_1NumLimitsT_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{classACG_1_1NumLimitsT}{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}
