Humidistat
Arduino firmware for a humidistat (humidity controller)
Loading...
Searching...
No Matches
imath.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

template<typename T >
constexpr T ipow (T base, unsigned int pow)
 Constexpr function for computing integer power.
 
constexpr unsigned int ilog10 (int n)
 Constexpr integer base-10 logarithm.
 

Function Documentation

◆ ilog10()

constexpr unsigned int ilog10 ( int n)
constexpr

Constexpr integer base-10 logarithm.

Parameters
n
Returns
10-log(n)

Definition at line 17 of file imath.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ipow()

template<typename T >
constexpr T ipow ( T base,
unsigned int pow )
constexpr

Constexpr function for computing integer power.

Template Parameters
TBase type
Parameters
baseBase
powExponent
Returns
base^pow

Definition at line 10 of file imath.h.

Here is the call graph for this function:
Here is the caller graph for this function: