\hypertarget{kblib__format_8h}{}\section{kblib\+\_\+format.\+h File Reference} \label{kblib__format_8h}\index{kblib\+\_\+format.\+h@{kblib\+\_\+format.\+h}} {\ttfamily \#include $<$algorithm$>$}\newline {\ttfamily \#include $<$cmath$>$}\newline Include dependency graph for kblib\+\_\+format.\+h\+:\nopagebreak \begin{figure}[H] \begin{center} \leavevmode \includegraphics[width=198pt]{kblib__format_8h__incl} \end{center} \end{figure} This graph shows which files directly or indirectly include this file\+:\nopagebreak \begin{figure}[H] \begin{center} \leavevmode \includegraphics[width=201pt]{kblib__format_8h__dep__incl} \end{center} \end{figure} \subsection*{Namespaces} \begin{DoxyCompactItemize} \item \hyperlink{namespacekblib}{kblib} \end{DoxyCompactItemize} \subsection*{Functions} \begin{DoxyCompactItemize} \item {\footnotesize template$<$typename Number $>$ }\\constexpr int \hyperlink{namespacekblib_a48f9c85786c2be309d1d1f2372584aaf}{kblib\+::digits\+Of} (Number val) \begin{DoxyCompactList}\small\item\em Calculates the number of decimal digits needed to represent a number, plus one for negative numbers. \end{DoxyCompactList}\item {\footnotesize template$<$typename Number $>$ }\\constexpr int \hyperlink{namespacekblib_a99643cae3d12903b1a7e2a4da258c06f}{kblib\+::digits\+Of} (Number val, int base) \begin{DoxyCompactList}\small\item\em Calculates the number of digits needed to represent a number in a given base, plus one for negative numbers. \end{DoxyCompactList}\item {\footnotesize template$<$typename Forward\+It $>$ }\\int \hyperlink{namespacekblib_ab3789d1827182670f0f5d698429f8fbd}{kblib\+::digits\+List} (Forward\+It first, Forward\+It last) \begin{DoxyCompactList}\small\item\em Returns the necessary number of digits to represent the largest value in an input range. \end{DoxyCompactList}\item {\footnotesize template$<$typename Forward\+It $>$ }\\int \hyperlink{namespacekblib_a6ad65daf538c04f6565863efa94d2ee2}{kblib\+::digits\+List} (Forward\+It first, Forward\+It last, int base) \begin{DoxyCompactList}\small\item\em Returns the necessary number of digits to represent the largest value in an input range. \end{DoxyCompactList}\end{DoxyCompactItemize}